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 自带报告内存泄漏

    //报告内存泄漏 ReportMemoryLeaksOnShutdown := true;

  2. Java实现mysql数据库备份

    Runtime是一个与JVM运行时环境有关的类,这个类是Singleton的. Runtime.getRuntime()可以取得当前JVM的运行时环境,这也是在Java中唯一一个得到运行时环境的方法. ...

  3. SQL 跨服务器数据库增、删、改、查(二)

    --创建链接服务器 exec sp_addlinkedserver 'jx3xxiednr3ucidf', ' ', 'SQLOLEDB', 'jx3xxiednr3ucidf' exec sp_ad ...

  4. Hibernate从入门到精通(八)一对多单向关联映射

    上次的博文Hibernate从入门到精通(七)多对一单向关联映射我们主要讲解了一下多对一单向关联映射,这次我们继续讲解一下一对多单向映射. 一对多单向关联映射 在讲解一对多单向关联之前,按照我们的惯例 ...

  5. 通过物理模型生成Java代码

    通过物理模型生成Java代码 软件开发过程中,我们一般是先针对数据库建模,物理建模完成后,生成数据库表,编码阶段的时候我们会针对数据库表生成大量的Javaeban或者是实体类 Powertdesign ...

  6. ITaCS Change Password web part

    http://changepassword.codeplex.com/ A webpart is used to change your sharepoint AD password.

  7. WdatePicker 设置开始时间和结束时间

    开始时间: <input type="text" placeholder=" -请选择- " readonly="readonly" ...

  8. 常用脚本语言Perl,Python,Ruby,Javascript一 Perl,Python,Ruby,Javascript

    常用脚本语言Perl,Python,Ruby,Javascript一 Perl,Python,Ruby,Javascript Javascript现阶段还不适合用来做独立开发,它的天下还是在web应用 ...

  9. c++ 链接

    header.h #ifndef HEADER_H #define HEADER_H unsigned long getFac(unsigned short num); ; #endif // HEA ...

  10. Samza的ApplicationMaster

    当Samza ApplicationMaster启动时,它做以下的事情: 通过STREAMING_CONFIG环境变量从YARN获取配置信息(configuration) 在随机端口上 启动一个JMX ...