get $home in ubuntu
Shell
$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:
- Title
- rustup
- Category
- Shell
- Title
- react native blank screen linux
- Category
- Shell
- Title
- git basic command tutorial
- Category
- Shell
- Title
- git flow init
- Category
- Shell
- Title
- linux find file
- Category
- Shell
- Title
- linux add user to group
- Category
- Shell
- Title
- append a string in all files name linux
- Category
- Shell
- Title
- install ruby mac
- Category
- Shell
- Title
- corewar 42 github
- Category
- Shell
- Title
- git rename branch
- Category
- Shell
- Title
- virtualbox mac install brew
- Category
- Shell
- Title
- assign default value in shell script
- Category
- Shell
- Title
- linux edit file
- Category
- Shell
- Title
- get local node version
- Category
- Shell
- Title
- git remove remote
- Category
- Shell
- Title
- how to install axios in react
- Category
- Shell
- Title
- git unstage file for commit
- Category
- Shell
- Title
- pip command not found macos
- Category
- Shell
- Title
- how to get the size of directory in linux
- Category
- Shell
- Title
- hasura squashmigrations
- Category
- Shell
- Title
- gunicorn launch django cmd
- Category
- Shell
- Title
- how to revert commit in git
- Category
- Shell
- Title
- import jar file
- Category
- Shell
- Title
- ip address ubuntu
- Category
- Shell
- Title
- android_home ubuntu
- Category
- Shell
- Title
- rsync examples
- Category
- Shell
- Title
- ubuntu unzip zip
- Category
- Shell
- Title
- fraction simplifier
- Category
- Shell
- Title
- fleet management software github
- Category
- Shell
- Title
- git switch branch
- Category
- Shell
- Title
- increase open file limit linux mac catalina mariadb
- Category
- Shell
- Title
- setup mysql ubuntu
- Category
- Shell
- Title
- wmv to mp4 ffmpeg
- Category
- Shell
- Title
- check running process in linux
- Category
- Shell
- Title
- git config core.autocrlf true
- Category
- Shell
- Title
- install visual studio code raspberry pi
- Category
- Shell
- Title
- mac cleanup github
- Category
- Shell
- Title
- get git remote url
- Category
- Shell
- Title
- git checkout someone else's branch
- Category
- Shell
- Title
- Error: Node Sass does not yet support your current environment
- Category
- Shell
- Title
- git bash Could not open a connection to your authentication agent. when adding ssh
- Category
- Shell
- Title
- free port in linux
- Category
- Shell
- Title
- how to check if ip is up bash script
- Category
- Shell
- Title
- revert last merge git
- Category
- Shell
- Title
- how to install gatsby with typescript
- Category
- Shell
- Title
- réinstaller interface graphique debian
- Category
- Shell
- Title
- kill all python processes ubuntu
- Category
- Shell
- Title
- netstat command in linux
- Category
- Shell
- Title
- fish shell script parent directory multiple dots
- Category
- Shell
- Title
- remove yum package
- Category
- Shell
- Title
- htaccess route to index.php
- Category
- Shell
- Title
- git command to create a branch from another branch
- Category
- Shell
- Title
- gzip folder with tar
- Category
- Shell
- Title
- linux tar zip folder
- Category
- Shell
- Title
- gatsby-plugin-typography
- Category
- Shell
- Title
- how to remove git directory in terminal
- Category
- Shell
- Title
- instalación de angular cli
- Category
- Shell
- Title
- shell script to check the output of a file
- Category
- Shell
- Title
- ERR_NO_CERTIFICATES: Encountered adb error: NoCertificates. ionic
- Category
- Shell
- Title
- read file using shell script
- Category
- Shell
- Title
- how to install theme in sublime text 3
- Category
- Shell
- Title
- ubuntu terminal get version
- Category
- Shell
- Title
- git rebase
- Category
- Shell
- Title
- install gatsby typography
- Category
- Shell
- Title
- remove directory linux
- Category
- Shell
- Title
- add alias fish shell
- Category
- Shell
- Title
- powershell script enable tls 1.2
- Category
- Shell
- Title
- jq filter array
- Category
- Shell
- Title
- create directory linux
- Category
- Shell
- Title
- linux permanent mount
- Category
- Shell
- Title
- save android studio home bash_profile
- Category
- Shell
- Title
- github undo last pushed commit
- Category
- Shell
- Title
- git delete stash
- Category
- Shell
- Title
- install magento 2 command line composer
- Category
- Shell
- Title
- zip current directory mac command line
- Category
- Shell
- Title
- free dock for linux
- Category
- Shell
- Title
- bash rename file
- Category
- Shell
- Title
- git reset soft
- Category
- Shell
- Title
- ufw allow port
- Category
- Shell
- Title
- kill process on port
- Category
- Shell
- Title
- BDD framework in testcomplete github
- Category
- Shell
- Title
- install keras
- Category
- Shell
- Title
- git command autocomplete
- Category
- Shell
- Title
- install homebrew on mac
- Category
- Shell
- Title
- how to perform mathematical operations in shell script
- Category
- Shell
- Title
- git ignore
- Category
- Shell
- Title
- docker getting-started
- Category
- Shell
- Title
- docker ubuntu installation
- Category
- Shell
- Title
- install sl
- Category
- Shell
- Title
- nslookup not found ubuntu
- Category
- Shell
- Title
- git revert merge
- Category
- Shell
- Title
- vim command to open a file
- Category
- Shell
- Title
- serverless sqs batch size
- Category
- Shell
- Title
- service dead but pid file exists
- Category
- Shell
- Title
- git commit all
- Category
- Shell
- Title
- git list config
- Category
- Shell
- Title
- linux vim set tab to 4 spaces
- Category
- Shell
- Title
- how to upload files to s3 bucket from mac shell
- Category
- Shell
- Title
- jscore
- Category
- Shell
- Title
- .gitignore
- Category
- Shell