搜索命令的命令whereis 语法 whereis [选项] [文件名] -b 只查找可执行文件 -m 只查找 帮助文件 [root@ly-linux ~]# whereis ls ls: /bi
搜索命令的命令whereis
语法
whereis [选项] [文件名]
-b 只查找可执行文件
-m 只查找 帮助文件
[root@ly-linux ~]# whereis ls
ls: /bin/ls /usr/share/man/man1/ls.1.gz
文件位置 帮助文件位置
搜索命令的命令which
语法
which 文件名
[root@ly-linux ~]# which ls
alias ls='ls --color=auto' 别名
/bin/ls 文件位置