.bashrc file is a configuration file for Bash shell.

It’s executed each time when opening a new terminal window.

It can be used to:

  • set environment variables
  • define aliases
  • create functions