2.4.1. Your home directory#

When you log in to the desktop and open Files, it will display your home directory (Fig. 33).

The following directories will be present in your home directory by default: Desktop, Documents, Downloads, Music, Pictures, Public, Templates, and Videos.


Fig. 33 Home directory#



The complete (or absolute) path to your home directory will be of the form /home/user, where user is your username on the system.


The HOME environment variable will automatically be set to the complete path to your home directory in the filesystem.

Hence, you can substitute /home/user with $HOME in your commands or scripts.