Bash startup files


What is the difference between login shell and non-login shell?
Login shell read the user’s specific environment settings.

Non-login only read the basic setting defined by the system for all bash users. Login to other servers, i.e. ssh or telnet, start as non-login shell in the remote server.

login shell startup:


non-login shell startup:


About janpenguin

Email: k2.mountain [at] gmail [dot] com Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in GNU/Linux. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s