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
> system is ubuntu.

Bash probably inherits the system default from its parent (init, sshd,
whatever).

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to