What’s Difference Between .bashrc .bash_profile and .profile

October 15, 2012 | By Regaz.

The Article Simply & Clearly Tell What’s the Difference Between Main Bash User Configuration Files:

  • .bashrc

  • .bashrc

  • .profile

Both the .bash Prefixed Config Files are Loaded Only from a Bash Shell and Not from sh, ksh, mksh and dash.

Take It Easy!
  1. .bashrc and .profile

    Are Loaded Only Once at Login Time.

    (.profile was Originally Intended for the Sh Shell and it is Loaded Only in Absence of the .bashrc one.).

  2. .bashrc

    Is Loaded Every Time you Open a New Terminal Console Window.

How to Easy Find/Search Files/Directories/Images on Linux.
Linux Locate Command How-to

Tags: , , ,