• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

.bash_profile vs .bashrc

August 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

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023