Mailing List Archive


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

Re: [tlug] Bashing away at Unix



2008/3/14, SL Baur <steve@example.com>:
> On 3/12/08, Godwin Stewart <gstewart@example.com> wrote:
>
>  > ICBW but I believe .profile is only read by the Bourne shell. If you're
>  >  using a different shell, such as tcsh then .profile will never be read
>  >  anyway.
>
>
> No.  Any Posix compliant shell will read .profile under certain conditions.
For RHEL 4, bash 3.2 doesn't check $HOME/.profile
# Though it does read /etc/profile.d/* becasue /etc/bashrc tells it to do so

You can verify whether your bash read .profile by running

$bash
$strace bash
Ctrl+D, and grep for .profile.


-- 
Best Regards,
Nguyen Hung Vu ( Nguyễn Vũ Hưng )
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links