Tutorial-1: Introduction

Tutorial-2: Shell, Kernel, Terminal & More

Tutorial-3: View System Date, Calendar
- cal, cal feb 2016, cal 8 2016
- date, date '+%m-%y %H:%M:%S'

Tutorial-4: Create Files & Directories
- touch, mkdir

Tutorial-5: Create, Merge & Play Test Files
- cat > test1, ctrl+d, cat > test2, ctrl+d
- cat < test1, cat test2
- cat test1, test2 > test3

Tutorial-6: Rename & Delete Files & Directories
- mv old new
- rm old
- rm -r mydir, rmdir mydir

Tutorial-7: Create Copies, Links to Files & Directories
- cp old new
- ln old new
- ln -s old new

Tutorial-8: File Permissions
- umask (mask to 0666 for create file or directory)

Tutorial-9: See What's In Using 'ls'
- ls, ls Documents/
- ls -l, ll
- ls -a

Tutorial-10: Change File Permissions Using ‘chmod’

  • chmod 664 test, chmod 775 test
  • chmod o+x test, chmod g+x test, chmod +x test
  • uname, uname -a show kernel info

Tutorial-11: Count Lines, Words & Characters Using ‘wc'

  • file *
  • wc test2 (line, words, characters)
  • wc -l test2, wc -w test2, wc -c test2

Tutorial-12: Sort

  • sort animals, sort sports

Tutorial-13: Cut Through Your Files

  • cut -d”-“ -f 1,3 players

Tutorial-14: Convert & Copy Files With ‘dd’

  • dd if=test of=out conv=ucase
  • dd if=out of=new conv=lcase

Tutorial-15: Get Help, View Fancy Text & Reduce File Size

  • man
  • banner “bye bye”
  • compress -v test
  • uncompress test.z

builtin,
!,
%,
.,
:,
@,
{,
},
alias,
alloc,
bg,
bind,
bindkey,
break,
breaksw,
builtins,
case,
cd,
chdir,
command,
complete,
continue,
default,
dirs,
do,
done,
echo,
echotc,
elif,
else,
end,
endif,
endsw,
esac,
eval,
exec,
exit,
export,
false,
fc,
fg,
filetest,
fi,
for,
foreach,
getopts,
glob,
goto,
hash,
hashstat,
history,
hup,
if,
jobid,
jobs,
kill,
limit,
local,
log,
login,
logout,
ls-F,
nice,
nohup,
notify,
onintr,
popd,
printenv,
pushd,
pwd,
read,
readonly,
rehash,
repeat,
return,
sched,
set,
setenv,
settc,
setty,
setvar,
shift,
source,
stop,
suspend,
switch,
telltc,
test,
then,
time,
times,
trap,
true,
type,
ulimit,
umask,
unalias,
uncomplete,
unhash,
unlimit,
unset,
unsetenv,
until,
wait,
where,
which,
while

Shell Script Tutorials (0 ~ 62)的更多相关文章

  1. Shell Script(1)----variable compare

    PS:在学习python的时间里,抽空复习自己学习的Linux下的shell脚本知识点 1.数据类型 学习一门语言,比较关心其数据的表示方式,以及数据的类型,这里首先看一个bash shell的脚本 ...

  2. shell编程 Shell script 的默认变量($0, $1...)

    Shell script 的默认变量($0, $1...) 我们知道指令可以带有选项与参数,例如 ls -la 可以察看包含隐藏文件的所有属性与权限.那么 shell script 能不能在脚本文件名 ...

  3. shell及脚本4——shell script

    一.格式 1.1 开头 必须以 "# !/bin/bash"  开头,告诉系统这是一个bash shell脚本.注意#与!中间有空格. 二.语法 2.1 数值运算 可以用decla ...

  4. shell script

    一.shell script的编写与执行 1.shell script 的编写中还需要用到下面的注意事项: a.命令的执行是从上到下,从左到右地分析与执行 b.命令.参数间的多个空白都会被忽略掉 c. ...

  5. (copy) Shell Script to Check Linux System Health

    source: http://linoxide.com/linux-shell-script/shell-script-check-linux-system-health/ This article ...

  6. shell script练习

    执行脚本的几种方式: 1. sh a.sh 或者  bash a.sh  调用的是 /bin/bash 进程执行的,所以脚本不需要执行权限. 2. 直接使用绝对路径执行, /home/script/a ...

  7. 这些年我们一起搞过的持续集成~Jenkins+Perl and Shell script

    这些年我们一起搞过的持续集成~Jenkins+Perl and Shell script ##转载注明出处:http://www.cnblogs.com/wade-xu/p/4378224.html ...

  8. shell script入门

    从程序员的角度来看, Shell本身是一种用C语言编写的程序,从用户的角度来看,Shell是用户与Linux操作系统沟通的桥梁.用户既可以输入命令执行,又可以利用 Shell脚本编程,完成更加复杂的操 ...

  9. linux基础之Shell Script入门介绍

    本文介绍下,学习shell script编程的入门知识,通过几个入门实例,带领大家走进shell script的神圣殿堂,呵呵,有需要的朋友参考下. 本文转自:http://www.jbxue.com ...

随机推荐

  1. Delphi Base64 编解码函数

    Delphi 自带 Base64 编解码的单元, EncdDecd这个单元提供两套四个公开函数: 对流的编解码:procedure EncodeStream(Input, Output: TStrea ...

  2. NFS网络文件共享服务

    NFS-网络文件系统,它的主要功能是通过网络让不同的主机系统之间可以彼此共享文件或目录. NFS在企业中得应用场景 在企业集群架构的工作场景中,NFS网络文件系统一般被用来存储共享视频.图片.附件等静 ...

  3. fedora 禁止nouveau加载

    To remove / disable nouveau drivers from kernel initramfs ## Backup old initramfs nouveau image ## m ...

  4. 【Spring-boot多数据库】Spring-boot JDBC with multiple DataSources sample

    application.properties spring.ds_items.driverClassName=org.postgresql.Driver spring.ds_items.url=jdb ...

  5. hdu 4706 Children's Day(模拟)

    http://acm.hdu.edu.cn/showproblem.php?pid=4706 [题目大意]: 用a-z排出N的形状,输出大小为3-10的N,如果超过z之后,重新从a开始 下面是大小为3 ...

  6. iOS开发(1) WebView和HTML 显示

    iOS 7 已经release了.现在学习iOS开发还是非常热门的.到处也有些团队在寻找iOS开发的人才. 那么,iOS开发.....省略了1万字.... HTML5 +CSS3+JS...再省略1万 ...

  7. shell复习笔记----入门知识

    Unix 简史 UNIX 最初是由贝尔实验室(Bell Telephone Laborataries)的计算机科学研究中心开发的,第一版诞生于1970年--也就是在贝尔实验室退出Multics项目不久 ...

  8. REST Design Concerns

    Less Requests, More data; one of the core RESTful API design paradigms is the concept of less API re ...

  9. FlushMode属性与transaction(spring注入的事务)

    一.参见hibernate的api http://tool.oschina.net/apidocs/apidoc?api=hibernate-3.6.10 http://tool.oschina.ne ...

  10. photoshop:制作木板木纹

    1.设置颜色为木头相近颜色 2.滤镜->渲染->云彩 3.滤镜->杂色->添加杂色 4.滤镜->模糊->动感模糊 5.用矩形选取选取某块区域 6.滤镜->扭曲 ...