简单shell程序...
时间:2006-06-16 来源:gyh9711
#选择命令程序
#!/bin/bash
while true
do
echo " 1. df -k"
echo " 2. ls -al"
echo " 3. exit "
read i
case i in
1) df -k;;
2) ls -al;;
3) exit;;
ease
done
#!/bin/bash
while true
do
echo " 1. df -k"
echo " 2. ls -al"
echo " 3. exit "
read i
case i in
1) df -k;;
2) ls -al;;
3) exit;;
ease
done
相关阅读 更多 +