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

Re: daft question



On Mon, 17 Jan 2000, Stephen J. Turnbull wrote:

> >>>>> ps == Paul Sims <wulfie [at] wulfric7.co.uk> writes:
> ps> for global paths, i.e. everybody gets one, put it
> ps> /etc/profile, otherwise /<home>/.profile or even .bashrc for
> ps> the adventurous.
> ~/.bashrc may be necessary for you if your xterms are properly set
> up (note to wizards: ie, not as login shells).

Nowt wrong with setting xterm as a login shell ;) The general rule is, of
course, that /bin/sh will only read $HOME/.profile. /bin/bash will only
read $HOME/.bashrc, and '/bin/bash --login' will read both /etc/.bashrc
and $HOME/.bashrc.
That's about the main difference between login-shells and non-login
interactive shells..

Alex.

Start your own FREE mailing list at

&copy; 2000 Microsoft Corporation. All Rights Reserved