sbase/env.1
Christoph Lohmann 9df408f8c6 Adding who, chroot, env and split.
Thanks "Galos, David" <galosd83@students.rowan.edu>!
2013-06-14 18:55:25 +02:00

42 lines
687 B
Groff

.TH ENV 1 sbase\-VERSION
.SH NAME
env \- modify the environment, then print it or run a command.
.SH SYNOPSIS
.B env
.RB [ \-i ]
.RB [ \-u
.IR name ]...
.RI [ name=value ]...
.RI [ cmd
.RI [ arg ...]]
.SH DESCRIPTION
.B env
removes part of the environment according to the flags, then adds or
sets each variable specified by
.IR name
to equal
.IR value .
If
.IR cmd
is given, it is executed in this new environment; otherwise, the
modified environment is printed to standard out.
.SH OPTIONS
.TP
.B \-i
Comptetely ignore the existing environment; start fresh.
.TP
.B \-u name
Unsets
.IR name
from the environment.
.SH SEE ALSO
.IR printenv (1)
.IR putenv (3)
.IR environ (7)