$HOME: Location of the user’s home directory
$HOME contains the path of the current user’s home directory.
It’s used in tilde expansion.
- Output the path to the current user’s home directory.
- Tilde expansion for the current user
- Tilde expansion for another user
BashSupport Pro is a Bash IDE with support for $HOME – try it now!