whereis

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

SYNOPSIS
whereis [-bmsu] [-BMS directory... -f] filename...

 

例1:查找Nginx相关路径

[root@nginx]# whereis nginx
nginx: /usr/sbin/nginx /etc/nginx /usr/lib64/nginx /usr/share/nginx

  

posted @ 2016-06-23 04:43  bigloong  阅读(131)  评论(0编辑  收藏  举报