Re: What files are source in bash login shell?

2009-11-17 Thread Peng Yu
On Tue, Nov 17, 2009 at 3:12 PM, Bob Proulx wrote: > Peng Yu wrote: >> I make my ~/.bash_profile empty. I still see >> >> $ echo $PATH >> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > > What is in your ~/.bashrc file? > >> I checked /etc/profile and /etc/bash.bashrc. Bu

Re: What files are source in bash login shell?

2009-11-17 Thread Bob Proulx
Peng Yu wrote: > I make my ~/.bash_profile empty. I still see > > $ echo $PATH > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games What is in your ~/.bashrc file? > I checked /etc/profile and /etc/bash.bashrc. But I don't PATH is set > in the two files. I'm wondering from w

Re: What files are source in bash login shell?

2009-11-17 Thread Chet Ramey
Peng Yu wrote: > I make my ~/.bash_profile empty. I still see > > $ echo $PATH > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > > I checked /etc/profile and /etc/bash.bashrc. But I don't PATH is set > in the two files. I'm wondering from which file PATH is set. BTW, my

What files are source in bash login shell?

2009-11-17 Thread Peng Yu
I make my ~/.bash_profile empty. I still see $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games I checked /etc/profile and /etc/bash.bashrc. But I don't PATH is set in the two files. I'm wondering from which file PATH is set. BTW, my system is ubuntu.