Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

printenv(1) [mojave man page]

PRINTENV(1)						    BSD General Commands Manual 					       PRINTENV(1)

NAME
printenv -- print out the environment SYNOPSIS
printenv [name] DESCRIPTION
The printenv utility prints out the names and values of the variables in the environment, with one name/value pair per line. If name is specified, only its value is printed. Some shells may provide a builtin printenv command which is similar or identical to this utility. Consult the builtin(1) manual page. EXIT STATUS
The printenv utility exits 0 on success, and >0 if an error occurs. SEE ALSO
csh(1), env(1), sh(1), environ(7) STANDARDS
The printenv utility is provided for compatibility with earlier BSD and FreeBSD releases and is not specified by any standards. The func- tionality of printenv can be duplicated with the echo(1) and env(1) utilities. HISTORY
The printenv command appeared in 3.0BSD. BSD
May 12, 2003 BSD

Check Out this Related Man Page

PRINTENV(1)							   User Commands						       PRINTENV(1)

NAME
printenv - print all or part of environment SYNOPSIS
printenv [VARIABLE]... printenv OPTION DESCRIPTION
If no environment VARIABLE specified, print them all. --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
Report bugs to <bug-coreutils@gnu.org>. COPYRIGHT
Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for printenv is maintained as a Texinfo manual. If the info and printenv programs are properly installed at your site, the command info printenv should give you access to the complete manual. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+--------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+--------------------+ |Availability | SUNWgnu-coreutils | +--------------------+--------------------+ |Interface Stability | Uncommitted | +--------------------+--------------------+ NOTES
Source for GNU coreutils is available on http://opensolaris.org. printenv 6.7 December 2006 PRINTENV(1)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

printenv

When I type "printenv" I have some informations as LANG PATH PWD.... - Where is the file which contain this informations? - When PWD is charged in the system... Thanks... (1 Reply)
Discussion started by: Castelior
1 Replies

2. UNIX for Dummies Questions & Answers

How to print something in make utility

Hi want to know the syntax of printing something (value or variable) in GNU make utility. I give this in the Makefile: echo "Hi" OR @echo "Hi" But I only get error this when I run make (at the line where I have echo): Makefile:9: *** missing separator. Stop. Whats the problem? How can... (2 Replies)
Discussion started by: radiatejava
2 Replies

3. Homework & Coursework Questions

script similar to rm utility

1. The problem statement, all variables and given/known data: saferm is a replacement for the rm utility. Rather than removing files, it move files in a sub directoy called".saferm" in the user's home directory. If "~/.saferm" doesn't exist, it is automatically created. The -l options lists the ... (3 Replies)
Discussion started by: Joey12
3 Replies

4. Shell Programming and Scripting

Insert value of env variable in xml file

Hello, I have the following variables set in my env echo $MY_XSD_FILE /home/jak/sample.xsd echo $MY_INTERVAL_VALUE 4 I want to insert them between the xml tags in my xml file cat sample.xml ::::::::::::::: ::::::::::::::: <property name="FILE"></property> :::::::::::::::::::::::... (2 Replies)
Discussion started by: jakSun8
2 Replies

5. Homework & Coursework Questions

Help needed - UNIX command

The 'env' command prints out all of the environment variables and their values. Come up with a command that prints a list of environment variables whose names end with either 'NAME', 'DIR' or 'PATH'. What I've tried. $ env | grep '' Although it highlights the part of the variables... (8 Replies)
Discussion started by: edujs7
8 Replies