ENVIRONMENT(8) Domain/OS BSD ENVIRONMENT(8)
NAME
environment - inquire about system environment
SYNOPSIS
/etc/environment [-c] [-i]
DESCRIPTION
This command is used by shell scripts to inquire about the current
"environment", installed environments, or both.
OPTIONS
If no flags are specified, the current environment is printed. If -i is
specified, however, and you also want current environment, you must add
-c.
-c print current environment
-i print installed environments
EXAMPLES
$ /etc/environment
aegis
$ /etc/environment -c
aegis
$ /etc/environment -i
aegis sysv bsd