# .bashrc and .profile

say it: **“dot BASH-AR-SEE and dot PROH-fyle”** **/dɑt ˈbæʃ ɑr ˈsi ənd dɑt ˈproʊfaɪl/**

Startup files where you keep aliases, PATH changes and settings.

## What does `.bashrc and .profile` do?

`.bashrc` runs every time you open a Bash shell; `.profile` (or `.bash_profile`) runs at login. Put aliases, PATH changes and settings there.

```bash
echo 'alias ll="ls -la"' >> ~/.bashrc
source ~/.bashrc
```

Level: Journeyman · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=3)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/bashrc-and-profile
