On Tue, 12 Dec 2000, christopher j bottaro wrote:

> weeeeeee, i like mailing lists.  i have so many questions!
>
> i know at some point, these shell scripts are executed in this order...
>
> /etc/profile
> /etc/bashrc
> ~/.bash_profile
> ~/.bashrc
>
> but when i type "set" i see many more environment vars than i saw were set
> and exported in those 4 files.  where are the rest coming from?  are there
> any other shell scripts besides those four that are executed at login?  also,
> what scripts are run when you spawn a new shell (aka, start a shell thats not
> the login shell).

as i recall, the bash shell itself comes preloaded with a number of
variables.

and be careful.  typing "set" shows you all of your shell variables.
typing "env" shows you strictly your environment variables that are
available to subshells.  you appear to be mixing these two concepts
above.

rday



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to