LinuxShell脚本编程实例.docVIP

  • 18
  • 0
  • 约 6页
  • 2016-04-01 发布于江西
  • 举报
LinuxShell脚本编程实例.doc

#! /bin/sh echo Current command is $0 echo The first parameter is $1 echo The second parameter is $2 echo The third parameter is $3 echo Total of parameters if $# echo Current PID is $$ #!/bin/bash times=0 until [ $times = 3 ]; do ??echo I love linux. ??sleep 2 ??times=`expr $times + 1` done ?? #!/bin/bash # menu shell script.? ?? ?samli? ???2004.4.19 until? ? ?? ? echo List Directory..........1? ? ?? ? echo Change Directory........2? ? ?? ? echo Edit File...............3? ? ?? ? echo Remove File.............4? ? ?? ? echo Exit Menu...............5? ? ?? ? read choice? ? ?? ? test $choice =

文档评论(0)

1亿VIP精品文档

相关文档