Jump to content

See Exports

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
Is it possible to see a list of all system variables and what their values are? The variables are the ones where you can do "SET something=something" and then you can do 'echo something'.

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
You can use env.
$ env

   # You can append the grep statement to search in the list
$ env | grep "specificvariable"

   # And you can also use env to remove variables
$ env --unset=VARIABLENAME


#3
Prog

Prog

    Learning Programmer

  • Members
  • PipPipPip
  • 98 posts
That works, thank you.