On Wed, Nov 14, 2001 at 06:00:00PM +1100, Matthew Dalton wrote: > Ian Balchin wrote: > > > > Karsten & Matthew, > > > > Thanks, you have cleared up the mysteries for me. Well, > > almost..... > > > > .... soooo, if Debian is looking for a bashrc or profile file, it > > won't mind if it has a dot in front or not, right? :> > > Not exactly... > > If it's in your home directory, it's got a dot. If it's in /etc, it > hasn't.
Also, the files: /etc/bash.bashrc /etc/profile are run for every login, so you can put system-wide defaults there, while the files: $HOME/.bashrc $HOME/.bash_profile are run for individual users as they log in, and so user-specific customisations should go there. You can try putting echo "running /etc/bash.bashrc" echo "running .bashrc" etc in your startup files, and see the lines print out when you log in. The full list of init files that are read for each login and new shell is given in bash(1) (search for INVOCATION) as Matthew Dalton suggested. $ man bash To search for a string, type a slash followed by the string, followed by <enter>. To search for the next occurence, type an n. To get rid of the highlighting, type <esc>u (hit the esc key, then hit the u key). -- [EMAIL PROTECTED] Consider registering as a bone marrow donor http://www.bloodservices.ca/english/ubmdr