作者zzzoprah (重新认识自己)
看板LinuxDev
标题[问题] PATH 怎麽编辑?
时间Sun Feb 17 21:50:03 2013
不好意思, 我完全没有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
请问我应该要怎麽进行??
还请有经验的版友教我了, 谢谢 ~~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.64.173.54
1F:→ DarkKiller:export PATH=/new/path:$PATH (可能是放到 .bashrc) 02/18 02:40
2F:推 kindaichitom:或是放在 .bash_profile 也行 02/18 18:14
3F:推 aweilin:vi ~/.bashrc 02/20 18:12
4F:→ aweilin:Adding this line PATH=$PATH:~/bin/ 02/20 18:13
5F:→ aweilin:source ~/.bashrc or reboot 02/20 18:13
6F:推 mshockwave:.bash_profile是远端登录时会读的 .bashrc是本机 02/24 11:52
7F:→ s6414073:楼上 我测试过都会读= = 他有先後顺序的 by鸟哥 择一即可 03/05 13:02
8F:→ uranusjr:事实上有分 non-login shell 和 login shell 不一样 03/05 16:01