Re: which .profile is used

2002-10-23 Thread Chris Kassopulo
On Tue, 16 Apr 2002 20:44:31 -0500 David A. Bandel [EMAIL PROTECTED] wrote: I'd try something like this (files that don't exist are ignored): login shell (SHLVL=1): /etc/profile $HOME/.profile $HOME/.bash_profile non-login shell (SHLVL=2): /etc/bashrc $HOME/.bashrc On logout:

Re: which .profile is used

2002-10-23 Thread David A. Bandel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 23 Oct 2002 16:47:49 -0400 begin Chris Kassopulo [EMAIL PROTECTED] spewed forth: On Tue, 16 Apr 2002 20:44:31 -0500 David A. Bandel [EMAIL PROTECTED] wrote: I'd try something like this (files that don't exist are ignored): login

Re: which .profile is used

2002-10-23 Thread Chris Kassopulo
On Wed, 23 Oct 2002 15:58:10 -0500 David A. Bandel [EMAIL PROTECTED] wrote: Qualifiers added. files that don't exist are ignored login shell (SHLVL=1): /etc/profile and $HOME/.profile or $HOME/.bash_profile or $HOME/.bash_login non-login shell (SHLVL=2):

Re: which .profile is used

2002-10-23 Thread Chris Kassopulo
It's getting simpler. files that don't exist are ignored login shell (SHLVL=1): /etc/profile and $HOME/.bash_profile or $HOME/.bash_login or $HOME/.profile non-login shell (SHLVL=2): $HOME/.bashrc logout: $HOME/.bash_logout Chris Kassopulo

Re: which .profile is used

2002-04-16 Thread Douglas J Hunley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David A. Bandel spewed electrons into the ether that resembled: vnc is opening a shell one level removed from a login shell. That is, when you look at your return from the `set` command, you'll see SHLVL=2 or higher. Login shells read

Re: which .profile is used

2002-04-16 Thread David A. Bandel
On Tue, 16 Apr 2002 17:02:19 -0400 begin Douglas J Hunley [EMAIL PROTECTED] spewed forth: [snip] Bandel, you da man! mine if I put this up somewhere on the site? this was one of the biggest stumbling blocks learning unix many moons ago, and you just gave the most succint explanation I've

Re: which .profile is used

2002-04-16 Thread Bill Campbell
On Tue, Apr 16, 2002 at 05:02:19PM -0400, Douglas J Hunley wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David A. Bandel spewed electrons into the ether that resembled: vnc is opening a shell one level removed from a login shell. That is, when you look at your return from the `set`

which .profile is used

2002-04-15 Thread Brian Witowski
After installing QT 3.0.3 I've noticed that when using vnc, if I open a shell on the linux box and do a 'set', my paths are not correct. But if I go in through SSH from a Win box, the paths are correct, as set in /root/.profile. Where is the shell in KDE picking up the settings from? Thanks,

Re: which .profile is used

2002-04-15 Thread David A. Bandel
On Mon, 15 Apr 2002 21:30:21 -0400 begin Brian Witowski [EMAIL PROTECTED] spewed forth: After installing QT 3.0.3 I've noticed that when using vnc, if I open a shell on the linux box and do a 'set', my paths are not correct. But if I go in through SSH from a Win box, the paths are correct,