get $home in ubuntu
$HOME is an environment variable that contains the location of your home
directory, usually /home/$USER. The $ tells us its a variable. So assuming
your user is called DevRobot the .desktop files are placed in
/home/DevRobot/Desktop/.
If you want to know where $HOME points to, you can run the following in a
terminal.
[ajefferiss@localhost ~]$ echo "$HOME"
/home/ajefferiss
You can use it to move around the filesystem, for example cd $HOME but
generally you wont see that because you can use ~/ to represent the
current users home directory. Or just run cd by itself to move to the
home directory.
Also in Shell:
- how to install wordpress ubuntu 16.04 rosehosting
- rails server already running
- node run shell command
- create next js app
- git ignore file mode changes
- bash count files in directory recursively matchingattern
- update to wsl2
- grepper shortcut key
- ubuntu passwordless sudo
- how to install emotion in gatsby
- bash get value after equal sign
- how to kill tasks using grep
- bash grep and sort
- configure samba on RPI
- how to make new user linux termil
- heroku cli delete app
- command to edit in terminal linux
- git effacer banch
- redirect folder to 403
- cannot find lstdc++ ubuntu
- nvcc not working after installing cuda
- git stas hauntracked files
- how to get mac cpu temp
- disable swap ubuntu 18.04