summaryrefslogtreecommitdiffstats
path: root/share/man/man7/environ.7
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2005-08-17 13:02:47 +0000
committerkeramida <keramida@FreeBSD.org>2005-08-17 13:02:47 +0000
commit3e1de19087563f1ac244acc078e4c7341b4ef50c (patch)
tree6efffc90e8b478b1aea6b7b0314f6722228eb50b /share/man/man7/environ.7
parent3e6c619383729f66dd7bc034caedb789840f2491 (diff)
downloadFreeBSD-src-3e1de19087563f1ac244acc078e4c7341b4ef50c.zip
FreeBSD-src-3e1de19087563f1ac244acc078e4c7341b4ef50c.tar.gz
Add a small paragraph that describes how the current environment
settings can be displayed, near the end of the DESCRIPTION section, immediately after the paragraph that describes how they can be set. Add a reference to printenv(1) too (and the ``printenv'' csh builtin). Submitted by: Gary W. Swearingen <garys@opusnet.com> PR: docs/85008
Diffstat (limited to 'share/man/man7/environ.7')
-rw-r--r--share/man/man7/environ.716
1 files changed, 16 insertions, 0 deletions
diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7
index d4987a6..98f879b 100644
--- a/share/man/man7/environ.7
+++ b/share/man/man7/environ.7
@@ -233,12 +233,28 @@ files, such as
and
.Ev IFS ,
unless you know what you are doing.
+.Pp
+The current environment variables can be printed with
+.Xr env 1 ,
+.Xr set 1
+or
+.Xr printenv 1
+in
+.Xr sh 1
+and
+.Xr env 1 ,
+.Xr printenv 1
+or the
+.Cm printenv
+built-in command in
+.Xr csh 1 .
.Sh SEE ALSO
.Xr cd 1 ,
.Xr csh 1 ,
.Xr env 1 ,
.Xr ex 1 ,
.Xr login 1 ,
+.Xr printenv 1 ,
.Xr sh 1 ,
.Xr execve 2 ,
.Xr execle 3 ,
OpenPOWER on IntegriCloud