Re: bash login script problems...

2002-06-19 Thread Colin Watson
On Wed, Jun 19, 2002 at 04:50:14PM +0200, Ivo Wever wrote: > Derrick 'dman' Hudson wrote: > >When you run a script in a subshell, it can modify the environment of > >that subshell, then that subshell terminates (when the script is done) > >and you get the prompt from your original shell again. Unl

Re: bash login script problems...

2002-06-19 Thread Ivo Wever
Derrick 'dman' Hudson wrote: Neal Lippman wrote: | I am having two problems with bash login scripts, which I cannot seem to sort | out. Probably something simple, but I'm missing it. | | 1. First, here is a few lines from my .bash_profile. These lines were | commented out by default, and I hav

Re: bash login script problems...

2002-06-15 Thread Neal Lippman
> When you run a script in a subshell, it can modify the environment of > that subshell, then that subshell terminates (when the script is done) > and you get the prompt from your original shell again. Unlike MS-DOS, > scripts normally run in subshells and can't wreak havoc on your > environment.

Re: bash login script problems...

2002-06-15 Thread Derrick 'dman' Hudson
On Sat, Jun 15, 2002 at 10:16:37PM -0400, Neal Lippman wrote: | I am having two problems with bash login scripts, which I cannot seem to sort | out. Probably something simple, but I'm missing it. | | 1. First, here is a few lines from my .bash_profile. These lines were | commented out by default

bash login script problems...

2002-06-15 Thread Neal Lippman
I am having two problems with bash login scripts, which I cannot seem to sort out. Probably something simple, but I'm missing it. 1. First, here is a few lines from my .bash_profile. These lines were commented out by default, and I have uncommented them. # set PATH so it includes user's privat