Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

~/.bashrc vs ~/.bash_profile

This comparison card contrasts ~/.bashrc and ~/.bash_profile. ~/.bashrc is described as every interactive shell. ~/.bash_profile is described as login shells. The card pairs ~/.bashrc with new terminal tabs, and ~/.bash_profile with sSH logins.

~/.bashrc vs ~/.bash_profile: Every interactive shell.; Login shells.
~/.bashrc vs ~/.bash_profile · Download PNG
Read card text

What this card says

Runs for

~/.bashrc

Every interactive shell.

~/.bash_profile

Login shells.

Key points

Aliases, prompt.

Should source bashrc.

Example

source ~/.bashrc

Use when

New terminal tabs.

SSH logins.

See all AWS revision cards