linux shell 脚本

什么是 shell script :

  

第一个 sehell script:

  

shell 变量 ,赋值:

  

变量 ,赋值:

 

shell 中控制结构:

if 语句和 test 命令:

1.

2.

shell中&&和||的使用方法:

for 循环语法:

while循环语法:

shell函数:

猜你喜欢

转载自www.cnblogs.com/jiangchunsheng/p/9125915.html
今日推荐