Linux printenv Command
What is Linux printenv Command?
In this tutorial we learn how to use printenv command in Linux. printenv command is printenv - print all or part of environment.
printenv Syntax
printenv [OPTION]... [VARIABLE]...printenv Examples
printenv Command Manual / Help
We can use man and info command to see the manual page of printenv command. printenv command also have --help option to show list of options.
To open man page for printenv command we can use command below. To exit man or info page you can press q.
man printenvTo open info page for printenv command we can use command below.
info printenvTo open help page from printenv command we can run command below.
printenv --helpLinux printenv Command Source Code
You can find printenv command source code from the folowing repositories:
- printenv source code on GitHub
- printenv source code on GNU Savannah cgit
- printenv source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use printenv in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.