which

查看命令的全路径

which mysql 只是查看第一次匹配到的路径

which -a mysql  查找全部路径

posted @ 2019-09-08 15:49  linux——quan  阅读(137)  评论(0)    收藏  举报