Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for .bash_profile

August 21, 2019

.bash_profile vs .bashrc

.bash_profile is executed for login shells. .bashrc is executed for interactive non-login shells. When you login, .bash_profile is executed. If you are already logged in, .bashrc is executed. .bashrc is also executed when you start a new bash using /bin/bash.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021