52、linux shell,查找

1、which

which - shows the full path of (shell) commands.

which [option]

2、whereis

whereis - locate the binary, source, and manual page files for a command

whereis [option] filename

3、find

find - search for files in a directory hierarchy

find [option] [path] expression

     -mtime n File's data was last modified n*24 hours ago.

     -atime

     -ctime

常用 find path expression

find / -name me.test

参考

1http://blog.163.com/zhoumhan_0351/blog/static/399542272010532241364/

原文地址:https://www.cnblogs.com/mydomain/p/2195882.html