Linux常用命令-whereis 发表于 2020-12-22 分类于 command 命令whereis 描述locate the binary, source, and manual page files for a command显示命令路径和文档路径 用法1whereis [options] name... 选项12345Options: -b 只显示二进制文件路径 -m 只显示man帮助文件路径 -s 只显示源码路径 -l 显示所有搜索路径,包括bin,man,src路径 注意无 示例123456$ whereis lsls: /usr/bin/ls /usr/share/man/man1/ls.1.gz$ whereis -b lsls: /usr/bin/ls$ whereis -m lsls: /usr/share/man/man1/ls.1.gz