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 [2017/12/04 20:43] – Added new 'automatic' section to detail the env variables set by sbbs digital man | config:env [2018/04/23 17:15] – [bash/sh] Mention 'env' and 'printenv' utils for setting/testing environment changes digital man | ||
---|---|---|---|
Line 45: | Line 45: | ||
(replace ''/ | (replace ''/ | ||
+ | === / | ||
+ | In Debian and Debian-based Linux distributions (e.g. Ubuntu), you can also set environment variables in your ''/ | ||
+ | |||
+ | export SBBSCTRL=/ | ||
+ | | ||
+ | === env === | ||
+ | You may also use the '' | ||
+ | |||
+ | env SBBSCTRL=/ | ||
+ | | ||
+ | Note: You can use the same syntax **without** the '' | ||
+ | |||
+ | === sudo === | ||
+ | When using the '' | ||
+ | |||
+ | 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 value should be printed in response to either): | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | |||
+ | |||
==== csh/tcsh ==== | ==== csh/tcsh ==== | ||