Linux printenv Command

In this tutorial we learn how to use printenv commmand in Linux. printenv command is printenv - print all or part of environment

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 printenv

To open info page for printenv command we can use command below.

info printenv

To open help page from printenv command we can run command below.

printenv --help

Linux printenv Command Source Code

You can find printenv command source code from the folowing repositories:

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.