Skip to content

xduraid/testtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

10.1 Default Environment

During startup, xd-shell ensures that a basic set of environment variables is available. These variables provide information commonly expected by shell users and external programs.

If a variable is already defined, xd-shell leaves it unchanged. Otherwise, it assigns a default value.

Variable Description Default value (if unset)
HOME The user's home directory The current user's home directory
USER The current user's name The current user's login name
LOGNAME The user's login name The current user's login name
PATH Directories searched for external commands /usr/local/bin:/usr/local/sbin:
/usr/bin:/usr/sbin:/bin:/sbin
SHLVL Shell nesting level 1 if login shell,
otherwise incremented by 1
SHELL Path of the running xd-shell executable Full path to the xd-shell executable
HISTFILE Persistent command history file (interactive shells only) $HOME/.xdsh_history or .xdsh_history

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors