搜索查找:
find:遍历树查找
locate
grep 进入文件内容中进行搜索
1.按文件名,根据名称 /home下的hello.txt
find /home -name hello.txt 可以使用通配符
按照文件的拥有者
find /opt -user root root 用户的在opt 的文件
查找整个linux系统下大于20M的文件
find / -size +20M +表示大于20M
查找小于20M
find / -size -20M
find / -size 20M 等于20M
查询 /目录下,左右.txt 的文件
find / -name *.txt
ls -l h 显示 符合人逻辑的显示
ctrl + C 中止命令执行