修改find示例 (#106)

* 修改107行的g全局作用

g不应该是匹配每一行的第一个匹配项,而是每一行的所有匹配项

* 增加修改用户家目录的选项以及实例

增加修改用户家目录的选项以及实例

* 添加fping新命令

* Update fping.md

* updat find.md
This commit is contained in:
lutixiaya 2019-05-15 22:19:07 +08:00 committed by 小弟调调™
parent 8d77b1b5d8
commit 28d0fa37e2
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ find $HOME/. -name "*.txt" -ok rm {} \;
查找当前目录下所有.txt文件并把他们拼接起来写入到all.txt文件中
```shell
find . -type f -name "*.txt" -exec cat {} \;> all.txt
find . -type f -name "*.txt" -exec cat {} \;> /all.txt
```
将30天前的.log文件移动到old目录中