240 发简信
IP属地:香港
  • Linux shell脚本攻略(3)-命令使用

    1.cat的使用 1.1 cat拼接,拼接多个文件 cat file1 file2 file3 ... 1.2stdin和另一个文件中的数据组合...

  • Linux shell脚本攻略(2)

    1.数组与关联数组 数组使用整数作为索引,关联数组使用字符串作为数组索引。 1.数组的定义: arr=(1 2 3) 或者:arr[0]=1;a...

  • Linux shell脚本攻略(1)

    1.获取字符串长度 # = 之间没有空格 tom=peter echo $(#tom) 2.获取当前所使用的shell echo $SHELL ...