bash read file line by line
2013-10-29 15:31
330 查看
cat fileName | \ while read CMD;do echo $CMD done
ls >1
while read line;do
wget "http://www.baidu.com/"+line
done
FILE=test while read CMD;do echo "$CMD"done<"$FILE"
相关文章推荐
- java 远程调用shell 上传文件到服务器
- 自动化测试工具_Calabash-android调研
- 我的一些简单的shell脚本实例
- Bash Shell脚本学习小结
- Bash One-Liners Explained(一):文件处理
- Bash One-Liners Explained (二):操作字符串
- VBS中WScript.Shell对象的run和exec的使用及区别
- Shell编程基础 part 2/2
- 如何避免SSH Secure Shell Client链接LINUX超时,自动断开?
- YARN编程实例—distributedshell源码分析
- android中运行shell
- 打开文件的shell脚本
- shell 批量修改密码
- 第一次亲密接触(1)
- Shell编程笔记
- Linux Shell编程入门
- Android shell 系统命令大全
- shell中$(( )) 与 $( ) 还有${ }的区别
- Delphi中ShellExecute的妙用
- Delphi ShellExecute的用法