.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.
echo 'alias ll="ls -la"' >> ~/.bashrc
source ~/.bashrc
Level: Journeyman · More Unix terms at this level
Updated