我不知何故設法搞砸了bash,同時在我的bash_profile(我認爲...)中擺弄$ PATH變量。據我所知,我所做的只是將一個目錄添加到$ PATH變量中。請幫忙!bash - cd命令不工作?
這裏就是我得到的,當我cd到不同的目錄
my-MacBook-Pro:~ myuser$ cd .rvm
-bash: dirname: command not found
-bash: find: command not found
my-MacBook-Pro:.rvm myuser$ cd
-bash: find: command not found
而這裏的,當我試圖進入我的.bash_profile撤消不管它是什麼,我沒有發生什麼......
my-MacBook-Pro:~ myuser$ emacs .bash_profile
-bash: emacs: command not found
my-MacBook-Pro:~ myuser$ sudo emacs .bash_profile
-bash: sudo: command not found
任何幫助將大規模讚賞。我完全搞砸了,直到我可以再次正常工作了!