Where Is $Home in Linux?
Contents

Where is $HOME on Linux?

$HOME is an environment variable that contains the location of your home directory, usually /home/$USER . The $ tells us it’s a variable. So assuming your user is called DevRobot the . desktop files are placed in /home/DevRobot/Desktop/ .

Where is the user folder in Linux?

Generally, in GNU/Linux (as in Unix), the user’s Desktop directory can be specified with ~/Desktop . The shorthand ~/ will expand to whatever the home directory is, such as /path/to/home/username .

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest