Skip to main content

HOME (path)

Laurence MorganLess than 1 minuteSpecial VariablesDefined by POSIX

HOME (path)

Return the home directory for the current session user

Description

$HOME returns the home directory for the current session user.

This variable duplicates functionality from ~ and thus is only provided for POSIX support.

This is a reserved variable so it cannot be changed.

See Also


This document was generated from gen/variables/HOME_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan