which 如: 输入:which reboot 输出:/sbin/reboot 输入:which shutdown -h now 输出:/sbin/shutdown 转载于:https://www.cnblogs.com/hf8051/p/4485064.html