whatis dotfiles

Dotfiles

Also known as: hidden files, config files

Configuration files in your home directory whose names start with a dot, like .bashrc and .gitconfig, and are hidden from plain ls.

What Are Dotfiles in Linux?

Any file whose name begins with . is hidden by ls unless you add -a. Programs traditionally store per-user settings this way, and newer ones follow the XDG spec and put config under ~/.config/.

Many people keep their dotfiles in a Git repository and use tools like GNU Stow or chezmoi to symlink or template them onto new machines.

Example

ls -a ~ | grep "^\."