Hello all,

I read a text about bash that mentions a difference between "login
shell" and "interactive shell".

I'm affraid I don not know the difference. Can anyone enlighten me ?


text I read was:

"When Bash starts executes the commands in a variety of different
scripts. When started as an interactive login shell: Bash reads and
executes the /etc/profile (if it exists). After reading that file, it
looks for ~/.bash_profile, ~/.bash_login, and ~/.profile in that order,
and reads and executes the first one (that exists and is readable). When
a login shell exits: Bash reads and executes ~/.bash_logout (if it
exists). When started as an interactive shell (but not a login shell):
Bash reads and executes ~/.bashrc (if it exists)."

thank you
João



-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to