[問題] PATH 怎麼編輯?

作者: zzzoprah (重新認識自己)   2013-02-17 21:50:03
不好意思, 我完全沒有Linux的底子
因為要使用open source的toolkits時出現問題
還請有經驗的版友幫個忙
我已安裝了toolkit "wave"
使用該toolkit "wave" 時系統回傳`wave: Command not found.'
指導手冊上說:
If you see a response similar to `wave: Command not found.', you will need to
find the executable copy of WAVE on the WAVE host system. (It may be in a
directory that is not part of your PATH; if so, you may wish to add that
directory to your PATH by editing .cshrc or .profile in your home directory.
看起來 我必須編輯 .profile 以增加此 wave toolkit 至 PATH
請問我應該要怎麼進行??
還請有經驗的版友教我了, 謝謝 ~~
作者: DarkKiller (System hacked)   2013-02-18 02:40:00
export PATH=/new/path:$PATH (可能是放到 .bashrc)
作者: kindaichitom (飯吃到下巴脫臼)   2013-02-18 18:14:00
或是放在 .bash_profile 也行
作者: aweilin   2013-02-20 18:12:00
vi ~/.bashrcAdding this line PATH=$PATH:~/bin/source ~/.bashrc or reboot
作者: mshockwave (夏克維夫)   2013-02-24 11:52:00
.bash_profile是遠端登錄時會讀的 .bashrc是本機
作者: s6414073   2013-03-05 13:02:00
樓上 我測試過都會讀= = 他有先後順序的 by鳥哥 擇一即可
作者: uranusjr (←這人是超級笨蛋)   2013-03-05 16:01:00
事實上有分 non-login shell 和 login shell 不一樣

Links booklink

Contact Us: admin [ a t ] ucptt.com