which whereis 查找

查找which
(1)which查找
[root@lsr7 ~]# which awk sed grep // 查找awk sed grep
alias grep='grep --color=auto'
/usr/bin/grep
/usr/bin/awk
/usr/bin/sed
(2)which撬棍
[root@lsr7 ~]# \which awk sed grep //如果不想显示别名就用 \ 撬棍
/usr/bin/awk
/usr/bin/sed
(3)whereis
/usr/bin/grep [root@lsr7 ~]# whereis sed
sed: /usr/bin/sed /usr/share/man/man1/sed.1.gz /usr/share/man/man1p/sed.1p.gz

你可能感兴趣的:(which whereis 查找)