Introduction to dot files

suggest change

In Unix, files and directories beginning with a period usually contain settings for a specific program/a series of programs. Dot files are usually hidden from the user, so you would need to run ls -a to see them.

An example of a dot file is .bash_history, which contains the latest executed commands, assuming the user is using Bash.

There are various files that are sourced when you are dropped into the Bash shell. The image below, taken from this site, shows the decision process behind choosing which files to source at startup.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents