# $home(5)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

$home - Users `home' directory location

## SYNOPSIS

$home directory

## DESCRIPTION

$home contains the pathname of the users home directory. The file naming convention utilizes tilde ('`~`') to identify the users home directory (`$HOME`). When entering a file name:

    ~/xxx    -> $home/xxx
    ~yyy/xxx -> $home/../yyy/xxx

On most systems this is automatically set to the environment variable "HOME" if it is defined. On systems (i.e. Microsoft Windows or MS-DOS) where there may be no home defined then the system user directory is used by default. The value may be explicitly redefined by the user in the start-up file to be a different location. If $home is re-defined then ensure that a trailing directory separator is included at the end of the pathname.

'`~`' may be used in pathname definitions in the macro files, files but must be specified as '`~`', it is perhaps better to use $home.

## SEE ALSO

$user-path(5), $user-name(5), $progname(5), $MENAME(5), $MEINSTALLPATH(5), Variable Functions.

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>