2.4.3. Important files in home directory#


This is the configuration file used by Bash, the default shell for user accounts. You will mostly use this file, when you need to set or modify environment variables like PATH.


You can use the .bash_aliases file to set aliases for commands.

For example, here is a commonly used alias:

alias l='ls -l'

This means when you type l at the command-line, the bash shell will execute ls -l, which will output a long listing of files, instead of the default.


To learn more about the ls command, read the ls — list files section.