- These files in your home directories have special meaning to bash, providing a way to setup the account environment when you log in and when you invoke another bash command
- If the files are not found in your home directory, you are using the default system on /etc/profile
- Most important is the .bash_profile which is read and the command in it is executed by bash every time you logged on to the system.
- .bashrc is invoked when you start a new shell or by typing bash on the command line.
- If you just need to have the same command run regardless of a subshell or a login shell, you can easily source .bashrc and hence execute .bashrc from within .bash_profile
- .bash_logout is read and executed every time a login shell exits.
Windows,Android,Linux,Apple Mac,Iphone,Ipad,Tips and Tricks,tutorial for Problem.Repair,Recovery,data,Troubleshooting,Computer Help,Software,Tweak Computers,Guide to Windows,linux and software Install guide.MotherBoard repair,Hardware.GSM,Phone,Wireless,WIFI,Msn,Ubuntu.Blogger tips....
Understanding the difference between .bash_profile, .bash_logout and .bashrc
Important Notes on bash file