SHELL (str)
Less than 1 minutevariables
SHELL
(str)
Path of current shell
Description
SHELL
is an environmental variable containing the full path to the current shell -- which in our case is Murex.
This variable is set by Murex to conform to POSIX standards. However, being an environmental variable, it can be overwritten via export
.
For Murex specific code, you are recommended to use MUREX_EXE
, which is a reserved variable, and thus read only, if you require precision and safety.
Other Reserved Variables
- Numeric (str): Variables who's name is a positive integer, eg
0
,1
,2
,3
and above $.
, Meta Values (json): State information for iteration blocksARGV
(json): Array of the command name and parameters within a given scopeCOLUMNS
(int): Character width of terminalEVENT_RETURN
(json): Return values for eventsHOSTNAME
(str): Hostname of the current machineMUREX_ARGV
(json): Array of the command name and parameters passed to the current shellMUREX_EXE
(path): Absolute path to running shellPARAMS
(json): Array of the parameters within a given scopePWDHIST
(json): History of each change to the sessions working directoryPWD
(path): Current working directorySELF
(json): Meta information about the running scope.SHELL
(str): Path of current shell
See Also
- Define Environmental Variable (
export
): Define an environmental variable and set it's value MUREX_EXE
(path): Absolute path to running shellstring
(stringing): string (primitive)
This document was generated from gen/variables/SHELL_doc.yaml.