Identifier: home_dir

Type

string

Description

The home directory. This identifier may be changed explicitly by assignment. Any path command without parameters will change directory to the home directory.

At system startup, the home directory is set to the current working directory.

When querying the value of home_dir, the returned value always includes the trailing '/' character.

Examples

Set the home directory then make it the current working directory.

home_dir = '/usr/test'
path

See Also

Commands:

mkdir, path

Identifiers:

current_dir(string)