Dotfiles

noun

say it: “DOT-fylz” /ˈdɑtˌfaɪlz/

The hidden settings files in your home folder whose names start with a dot; also a folder of your own copies of them, often kept in Git.

What are dotfiles?

Dotfiles are the settings files in your home folder whose names start with a dot, such as .bashrc and .gitconfig, which is why ls hides them. People also call a folder of their own copies their dotfiles: the real files live in ~/dotfiles, a symbolic link with the dotted name points to each one, and the folder is kept in Git, so a new computer gets the whole setup from one git clone. Keep passwords and keys out of it.

ln -s ~/dotfiles/bash_aliases ~/.bash_aliases

In a sentence

  • “Sam kept his dotfiles in a Git repo, so his new laptop got all his aliases from one clone.”
  • “ls -a showed the dotfiles that a plain ls had hidden, such as .bashrc and .profile.”

Level: Journeyman · More Unix terms at this level

Updated