env ( en )

Last modification : 2013/01/26 19:16

env is used to print the environment content.
Without any parameter, the whole environment is printed to the screen.
msh> env
ALLUSERSPROFILE=C:\ProgramData
...
#=0
With a parameter, env only print the variables that match the pattern.
msh> env MSH_DATE_FORMAT
%d/%m/%Y %H:%M:%S
To know the size of the environment just the function env with # parameter:
msh> env \"#\"
79