[Ilugc] Difference between bashrc and bash_profile

  • From: sridharinfinity@xxxxxxxxx (Sridhar Ratna)
  • Date: Thu Jan 20 11:10:51 2005

On Wed, 19 Jan 2005 21:30:41 -0800 (PST), ram
<ramprasad_rajendran@xxxxxxxxx> wrote:

Hai everyone,
What is the difference between bashrc and bash_profile
and what do i put in each.?


.bash_profile is executed for login shells (eg. virutal  terminals)
.bashrc is executed for interactive shells (eg. gnome-terminal)

read bash manual page

-- 
Sridhar Ratna - http://srid.bsdnerds.org

Other related posts: