printenv
show current env varsexport
show exported env varsenv
show env vars or set temporary vars for command$ env -i BAR='foo' ./biz.sh
- NOTE:
-i
,--ignore-environment
, start with an empty environment see https://www.man7.org/linux/man-pages/man1/env.1.html
- NOTE:
more info from this source: https://linuxcent.com/bash-how-to-list-environment-variables/