shell常用命令总结,以下文档只是用来测试.

查找一个文件

1
2
$ find path -name 'filename.txt'

找出当前目录或文件中包含'ABC'的文件

1
2
$ grep -rn "ABC" *

More info: liunx常用命令