bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What files are source in bash login shell?


From: Chet Ramey
Subject: Re: What files are source in bash login shell?
Date: Tue, 17 Nov 2009 16:12:04 -0500
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]