搜索命令的命令whereislinux
語法 spa
whereis [選項] [文件名]搜索
-b 只查找可執行文件語法
-m 只查找 幫助文件文件
[root@ly-linux ~]# whereis lsco
ls: /bin/ls /usr/share/man/man1/ls.1.gzbackground
文件位置 幫助文件位置
搜索命令的命令which
語法
which 文件名
[root@ly-linux ~]# which ls
alias ls='ls --color=auto' 別名
/bin/ls 文件位置