博客 / 詳情

返回

ubuntu18 沒有 where 命令 -bash: where: command not found

當你在終端想用 where 命令的時候,發現沒有 where 這個命令?

vagrant@vagrant:~$ where python
-bash: where: command not found

很簡單,where 命令是 zsh 的內建命令,而不是 bash

bash 只有 which,沒有 where

user avatar er_6097e4c6afae9 頭像 yilaguan_6110d16933c03 頭像
2 位用戶收藏了這個故事!

發佈 評論

Some HTML is okay.