由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - iMAC terminal bash doesn't take .bashrc ?
相关主题
【讨论】Linux启动时执行配置文件的顺序 (转载)讲一个单进程死锁
Re: how do you show this navigation bar in screen? (转载)data structure for set of path in a graph
修改环境路径的问题。Script question
怎么实现这个alias (转载)BASH问题
bin run as root, 它会不会pick up /root/.bashrc里的setting ? (转载)问一下bash编程
g++ command line一问弱问bash script, 关于IFS问题
A question about command line editor modebash中怎样进行变量名递归替换?
借人气问Mac上的emacs怎么设置spell checkpython, perl, C
相关话题的讨论汇总
话题: bashrc话题: imac话题: bash话题: path话题: terminal
进入Programming版参与讨论
1 (共1页)
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
1 (共1页)
进入Programming版参与讨论
相关主题
python, perl, Cbin run as root, 它会不会pick up /root/.bashrc里的setting ? (转载)
请教 C++ std::list iterator 对 template class pointer 的应用问题g++ command line一问
怪事A question about command line editor mode
怎么才能在Unix里连续跑10个c写的程序借人气问Mac上的emacs怎么设置spell check
【讨论】Linux启动时执行配置文件的顺序 (转载)讲一个单进程死锁
Re: how do you show this navigation bar in screen? (转载)data structure for set of path in a graph
修改环境路径的问题。Script question
怎么实现这个alias (转载)BASH问题
相关话题的讨论汇总
话题: bashrc话题: imac话题: bash话题: path话题: terminal