linux系统下查找文件—whereis命令

2020-01-30 12:33:25刘景俊

[root@localhost ~]# whereis -b svn
svn: /usr/bin/svn /usr/local/svn
[root@localhost ~]# whereis -m svn
svn: /usr/share/man/man1/svn.1.gz
[root@localhost ~]# whereis -s svn
svn:
[root@localhost ~]#

说明:

whereis -m svn 查出说明文档路径,whereis -s svn 找source源文件。