|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)printenv.1 6.1 (Berkeley) 4/29/85
6: .\"
7: .TH PRINTENV 1 "April 29, 1985"
8: .UC
9: .SH NAME
10: printenv \- print out the environment
11: .SH SYNOPSIS
12: .B printenv
13: [ name ]
14: .SH DESCRIPTION
15: .I Printenv
16: prints out the values of the variables in the environment. If a
17: .I name
18: is specified, only its value is printed.
19: .PP
20: If a
21: .I name
22: is specified and it is not defined in the environment,
23: .I printenv
24: returns exit status 1, else it returns status 0.
25: .SH SEE ALSO
26: sh(1), environ(7), csh(1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.