Re: login, path and ~/.profile
From: Jon Dowland (lists_at_alcopop.org)
Date: 09/30/05
- Previous message: Fred J.: "udev and kernel 2.6.8 after dist-upgrade"
- In reply to: Benedict Verheyen: "login, path and ~/.profile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Sep 2005 11:46:14 +0100 To: debian-user@lists.debian.org
Look at the bash manpage, search down to the INVOCATION section. The
rather amazingly complex rules for which files are sourced, in which
order etc. are described there. I think ~/.profile is skipped if
~/.bash_profile exists, although don't quote me on that.
If I want stuff to run no matter whether it's interactive or a login
shell or whatever, I create ~/.bash_both and source it from whichever
other dot files are appropriate.
-- Jon Dowland http://jon.dowland.name/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Fred J.: "udev and kernel 2.6.8 after dist-upgrade"
- In reply to: Benedict Verheyen: "login, path and ~/.profile"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]