Re: newbie

From: Matti Aarnio (
Date: Tue Aug 20 2002 - 02:32:36 EST

On Mon, Aug 19, 2002 at 03:30:18PM -0700, Venkat Raghu wrote:
> Hi,
> I have a bash script which modifies some environment
> variables and does some other housekeeping things.
> But problem is that when script finishes running,
> new values of environment variables are no longer
> visible in parent shell. So what should I do so that
> these new values are visible in parent. I don't want
> to run as ".". I have to run it as ""
> only.

  The things you do in child process environments are
  inheritable only to their childs, never to parent.
  If they were, there would be massive security problems,
  just to mention one consequence...

  If you want your current shell to get the new values,
  you have to do: .

> Kindly mail me at
> Regards
> Venkat.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:19 EST