RE: Where are the environment variables?
bash, sh, and ksh and similar shells use environment variables such as $PS1,
$PS2. printenv lists some but not all of these, e.g. $PS1 is listed, $PS2 is
not, though $PS2 clearly has a value and shows up with
This is true with other environment variables as well.
Why don't they all show up in printenv?