Skip to main content

Linux command: printenv

printenv - print all or part of environment
NAME
       printenv - print all or part of environment

SYNOPSIS
       printenv [OPTION]... [VARIABLE]...

DESCRIPTION
       Print  the  values  of the specified environment VARIABLE(s).  If no VARIABLE is speci‐
       fied, print name and value pairs for them all.

       -0, --null
              end each output line with NUL, not newline

       --help display this help and exit

       --version
              output version information and exit

       NOTE: your shell may have its own version of printenv,  which  usually  supersedes  the
       version  described  here.  Please refer to your shell's documentation for details about
       the options it supports.

AUTHOR
       Written by David MacKenzie and Richard Mlynarik.

REPORTING BUGS
       GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
       Report printenv translation bugs to <http://translationproject.org/team/>


Popular posts from this blog

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.