Linux – Order of startup files

, <span>Linux – Order of startup files</span>, KandZ

When you first log into Linux /etc/profile is read, and then if they exist  Linux read the following files

  1. ~/.bash_profile
  2. ~/.bash_login
  3. ~/.profile

Just to mention that if the first file exists, Linux will read it and then will ignore the others.

But when you create a new shell or terminal window, only the ~/.bashrc is read and that is because you do not perform a full system login.

21290cookie-checkLinux – Order of startup filesLinux – Order of startup files

Related posts

Leave a Comment