PRINTENV
Section: Misc. Reference Manual Pages (1L)
Updated: GNU Shell Utilities
Index
Return to Main Contents
NAME
printenv - print all or part of environment
SYNOPSIS
printenv
[--help] [--version] [variable...]
DESCRIPTION
This manual page
documents the GNU version of
printenv.
If no arguments are given,
printenv
prints the entire environment. If one or more variable names are
given, it prints the value of each one that is set, and nothing
for each one that is not set.
The exit status is:
0 if all variables specified were found
1 if at least one specified variable was not found
2 if a write error occurred
OPTIONS
- --help
-
Print a usage message on standard output and exit successfully.
- --version
-
Print version information on standard output then exit successfully.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
This document was created by
man2html,
using the manual pages.
Time: 15:36:17 GMT, January 15, 2023