linux grep
来源:互联网 发布:数据库备份语句 编辑:程序博客网 时间:2024/06/05 22:37
find -name '*.F90' | xargs grep --color=auto -r 'program' >> 1.txt
find -name '*.F90' | xargs grep --color=auto -r -i 'program' >> 1.txt(不区分大小写)
-n显示行号
在当前目录及所有子目录下搜索‘program’的F90文件
grep -rni "mpi" * > 1.txt
-r 递归查找 -i 不区分大小写
0 0
- linux grep
- linux grep
- Linux:grep
- Linux grep
- Linux Grep
- Linux grep
- linux grep
- linux grep
- Linux grep
- Linux grep
- linux grep
- linux grep
- linux grep
- Grep - Linux
- linux grep
- Linux Grep
- linux grep
- Linux grep
- 数据结构上机测试1:顺序表的应用
- C++实验5-数组的分离
- 专业做笔记24h之Java入门总结(方法重载与方法重写的区别)
- LA 3942 背单词(dp+Trie)
- swift基础学习(03)
- linux grep
- Redis源码解析:18Hiredis同步API和回复解析API代码解析
- C经典 结构体指针两种方式
- 配置Hadoop 1.2.1
- Android Bluetooth蓝牙技术使用流程详解
- linuxi下的做图工具——gnuplot安装
- mave中的变量列表
- AndroidDevTools
- swift基础学习(03)[数组、集合、字典]