Name

printenv

Synopsis

printenv [variables]
printenv option

Print values of all environment variables or, optionally, only the specified variables.

Options

--help

Print usage information and exit.

--version

Print version information and exit.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.