没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
LinuxShell 脚本编程实例
#! /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 = 5
do
case $choice in
1) ls;;
2) echo "enter target directory:"
read dir
cd $dir
;;
3) echo "enter file name:"
read file
vi $file
;;
4) echo "enter file name:"
read file
资源评论
小小哭包
- 粉丝: 1899
- 资源: 3854
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功