PRINTENV(1)

πŸ“¦
version 9.10 Β· 5 versions
, in ubuntu stonking

πŸ’– PRINTENV(1) β€” the manual page, but make it make sense πŸ’–

okay bestie, gather round, because this one is tiny but it slays. it's printenv, it lives in the User Commands corner of your manual, and it does exactly what it says on the tin. no cap.


✨ NAME ✨

printenv β€” print all or part of environment 🫢


🌸 SYNOPSIS 🌸

printenv [OPTION] [VARIABLE]...

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: you hand it some environment VARIABLE(s) and it prints out the value of each one you asked for. That's it. That's the whole job. πŸ’…

And if you specify no VARIABLE at all? Then it doesn't just print values, it prints name and value pairs for them all β€” like the entire environment, all of it, the full roster, the whole group chat. Iconic.

the options, queen πŸ‘‘

  • -0, --null β€” ends each output line with a NUL instead of a newline. (iykyk β€” this is the move when you're piping into something that gets confused by newlines.)
  • --help β€” displays this help and dips. 🫑
  • --version β€” outputs version information and exits.
⚠️ real talk, bestie: your shell may have its own version of printenv, and that one usually supersedes the version described right here. so if things look weird or the flags hit different, go read your shell's documentation for the details about the options it actually supports. don't come for this manpage, come for your shell. 😭

πŸ‘‘ AUTHOR πŸ‘‘

Written by David MacKenzie and Richard Mlynarik. legends, fr fr. πŸŽ€


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? Don't suffer in silence, tell the people:


🌈 SEE ALSO 🌈


πŸ“ the cute little sign-off πŸ“

Packaged by Ubuntu (9.10-1ubuntu2).

Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. (say it louder for the people in the back πŸ’€)


and that's the whole page, bestie. it's from GNU coreutils 9.10, dated August 2026, and it's the PRINTENV(1) page. periodt. πŸ’œβœ¨

πŸ“¦ where this page comes from