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

  

原文地址:https://www.cnblogs.com/Liangdalong/p/5609197.html