Get home directory of logged in user in Shell Subash Chandran 22nd December 2021 Leave a Comment Using a built-in variable: $ echo $HOME /Users/anand Using a tilde: $ echo ~ /Users/anand Curly hair, very fair, please share 🙂Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Related See also Expose your local application as a public URL using ngrok Linux Get current user in Shell, get current user in shell linux, get current user in terminal, get home directory shell Change font size A Decrease font size. A Reset font size. A Increase font size.