Help: mysh variables:

In mysh, variables are kept that control the behavior of the shell. This simple command is used to set, delete, and display these variables. The basic method for setting a variable is:

set \$name=value

Where:

To erase the value of a variable, use: set $$name= To display the name/value of a variable, use: set $$name To display all variable names/values use: set

As an escapement, the strings $$$$ or \$ map to a single $$.

Some variables that are used in mysh are:

$$d The current date. $$date_fmt The format for the date: “%Y-%m-%d”. ie: 2017-01-09 $$debug Does the shell display additional debugging info (true/false) $$h The home folder's path $$name The name given to this mysh session. $$post_prompt The prompt used when a line is continued with a trailing \

character. By default this just a single \

$$pre_prompt A prompt string displayed before the actual command prompt.

Delete the pre_prompt variable to disable pre-prompting.

$$prompt The user prompt. $$r The location of the Ruby interpreter. $$s The location of the host command processor. $$t The current time. $$time_fmt The format for the time: “%H:%M”. ie: 20:11 $$u The current user. $$w The current working directory's path.