• Skip to primary navigation
  • Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

.bash_profile vs .bashrc

by Ulysses · Aug 21, 2019

.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.

Filed Under: Linux Tagged With: .bash_profile, bash, bashrc, login

Subscribe

Copyright © 2012–2021