Linux and UNIX Man Pages

Test Your Knowledge in Computers #164
Difficulty: Easy
Developers began to abandon MINIX after free and open-source Unix-like operating systems such as Linux and 386BSD became available in the early 1990s.
True or False?
Linux & Unix Commands - Search Man Pages

printenv(1) [freebsd man page]

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

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(1B)					     SunOS/BSD Compatibility Package Commands					      printenv(1B)

printenv - display environment variables currently set SYNOPSIS
/usr/ucb/printenv [variable] DESCRIPTION
printenv prints out the values of the variables in the environment. If a variable is specified, only its value is printed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
csh(1), echo(1), sh(1), stty(1), tset(1B), attributes(5), environ(5) DIAGNOSTICS
If a variable is specified and it is not defined in the environment, printenv returns an exit status of 1. SunOS 5.11 14 Sep 1992 printenv(1B)

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers


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

Featured Tech Videos