w**2 发帖数: 724 | 1 New to iMAC,
so when i do "ps" in the iMAC terminal, it says "bash".
but in .bashrc i do have "export PATH=....".
when i do "echo $PATH", it doesn't show my new path.
now if i do "source ~/.bashrc", then new path is added.
why .bashrc is not working from boot up ?
thanks ! |
s*****t 发帖数: 89 | 2 google .bash_profile vs .bashrc |
w**2 发帖数: 724 | 3 i don't see .bash_profile,
there is a .bashrc in the folder
【在 s*****t 的大作中提到】 : google .bash_profile vs .bashrc
|
l**********n 发帖数: 8443 | 4 create one
【在 w**2 的大作中提到】 : i don't see .bash_profile, : there is a .bashrc in the folder
|
n******n 发帖数: 12088 | 5 用Ubuntu多好!
【在 w**2 的大作中提到】 : New to iMAC, : so when i do "ps" in the iMAC terminal, it says "bash". : but in .bashrc i do have "export PATH=....". : when i do "echo $PATH", it doesn't show my new path. : now if i do "source ~/.bashrc", then new path is added. : why .bashrc is not working from boot up ? : thanks !
|
s*****t 发帖数: 89 | 6 你右键搜索第一个结果点进去看一眼就知道我在说什么了
【在 w**2 的大作中提到】 : i don't see .bash_profile, : there is a .bashrc in the folder
|
m*****g 发帖数: 71 | 7 .bashrc要在.bash_profile里调用才行,另外没有.bash_profile还可能有.bash_login
或者.profile |