没有合适的资源?快使用搜索试试~ 我知道了~
linux之shell scripts (类似dos之批次檔) 例:制做类似dos之diskcopy外部指令 文件名称:diskcopy #!/bin/sh echo -n "Insert source disk in first floppy drive,then hit enter" read ans; dd if=/dev/fd0 of=/tmp/dcopy$$ echo -n "Remove source disk and insert other disk ,then hit enter" read ans; dd of=/dev/fd0 if=/tmp/dcopy$$ /bin/rm -f /tmp/dcopy$$ 备注:不用扩展名;需更改档案属性为可执行;例 chmod 755 diskcopy ls:列出档案信息 → 类似dos之dir
资源推荐
资源评论
资源评论
zykupi08
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功