PRINTENV(1)
π 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 aNULinstead 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:
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to <https://translationproject.org/team/>
π SEE ALSO π
- Full documentation <https://www.gnu.org/software/coreutils/printenv> β or if you wanna be local about it, it's available locally via:
info '(coreutils) printenv invocation'
π 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
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms