Skip to content

changing an environment variable


For an environment variable called FOOBAR, the current value can be determined with echo $FOOBAR, and can be changed with export FOOBAR="barfoo".


No rights reserved: CC0 1.0.

prior work

The method for determining and changing the environment variable was introduced to me by an answer on Ask Ubuntu by Danatela.