next up previous contents index
Next: Aliasing Up: bash Customization Previous: Shell Startup

Startup Files

Since most users want to have largely the same environment no matter what type of interactive shell they wind up with, whether or not it's a login shell, we'll start our configuration by putting a very simple command into our .bash_profile: ``source ~/.bashrc''. The source  command tells the shell to interprete the argument as a shell script. What it means for us is that everytime .bash_profile is run, .bashrc is also run.

Now, we'll just add commands to our .bashrc. If you ever want a command to only be run when you login, add it to your .bash_profile.



Converted on:
Mon Apr 1 08:59:56 EST 1996