dotfile
A file whose name starts with a dot, such as .bashrc, which ls and globs hide unless asked.
In more detail
Hiding is only a convention of ls and globbing, not a security feature. ls -a shows them. Configuration files in your home directory are usually dotfiles, and people keep them in version control to set up new machines.
Related terms
- ls — The command that lists the files and directories inside a directory.
- .bashrc — A file in your home directory that every new interactive bash reads at startup, used for aliases, functions and prompt settings.
- home directory — Your personal directory, such as /home/ada on Linux or /Users/ada on macOS, where your files and settings live.
- globbing — The step where bash replaces a word containing a star, a question mark or square brackets with the sorted list of file names that match it.
Taught in
- Moving Around: pwd, ls, cd And Paths — Bash Scripting & Command Line Automation
- Scheduling, Monitoring And A Script That Reports — Bash Scripting & Command Line Automation