whereis 查看摸个命令是否存在:比如:
[root@localhost tmp]# whereis rpmrpm: /bin/rpm /etc/rpm /usr/lib/rpm /usr/share/man/man8/rpm.8.gz