可以使用which命令来定位一个命令。 http://www.cyberciti.biz/faq/how-do-i-find-the-path-to-a-command-file/ 转载于:https://www.cnblogs.com/lilei9110/p/5126646.html