B.2.2. The User's Home Directory
The contents of a user's home directory is not standardized, but there are still a few noteworthy conventions. One is that a user's home directory is often referred to by a tilde (“~”). That is useful to know because command interpreters automatically replace a tilde with the correct directory (usually /home/user
/
).
Application configuration files are often stored directly under the user's home directory, but their names usually start with a dot (for instance, the mutt
email client stores its configuration in ~/.muttrc
). Filenames that start with a dot are hidden by default, and ls
only lists them when the -a
option is used.
Some programs use multiple configuration files organized in one directory (for instance, ~/.evolution/
). Some applications (such as the Iceweasel web browser) also use their directory to store a cache of downloaded data. This means that those directories can end up using a lot of disk space.
Graphical desktops usually display the contents of the ~/Desktop/
directory (or ~/Bureau/
or whatever the appropriate translation is for systems not configured in English) on the desktop (ie, what's visible on screen once all applications are closed or iconized).
Finally, the email system sometimes stores incoming emails into a ~/Mail/
directory.