Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
config:env [2018/02/28 16:48] – [bash/sh] Mention /etc/profile and sudo -E digital man | config:env [2018/10/18 00:45] – [bash/sh] typos and such digital man | ||
---|---|---|---|
Line 43: | Line 43: | ||
SBBSCTRL=/ | SBBSCTRL=/ | ||
- | (replace ''/ | + | (replace ''/ |
=== / | === / | ||
- | In Debian and Debian-based Linux distributions (e.g. Ubuntu), you can also set environment variables in your ''/ | + | In Debian and Debian-based Linux distributions (e.g. Ubuntu), you can also set environment variables in your ''/ |
export SBBSCTRL=/ | export SBBSCTRL=/ | ||
+ | | ||
+ | === env === | ||
+ | You may also use the '' | ||
+ | |||
+ | env SBBSCTRL=/ | ||
+ | | ||
+ | Note: You can use the same syntax **without** the '' | ||
=== sudo === | === sudo === | ||
- | When using the '' | + | When using the '' |
sudo -E sbbs | sudo -E sbbs | ||
+ | | ||
+ | === Testing === | ||
+ | |||
+ | You can use either of the following command-lines to test if a particular environment variable is set correctly (the environment variable' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
==== csh/tcsh ==== | ==== csh/tcsh ==== |