ls
-t 时间降序
-r 反序
一、which、whereis、locate、find
- which 根据环境变量查找可执行文件 eg: which pwd
- whereis -b 查找2进制文件 -s 查找源码文件 根据文件数据库查找速度快,但是实时性不好
- locate 根据文件数据库查找文件
- find 路径 操作 行为
find /home -name "nostalie";find /home -mtime -3;find /home -regex "\\d+"
ls
-t 时间降序
-r 反序
find /home -name "nostalie";find /home -mtime -3;find /home -regex "\\d+"
536
381

被折叠的 条评论
为什么被折叠?