Adding who, chroot, env and split.

Thanks "Galos, David" <galosd83@students.rowan.edu>!
This commit is contained in:
Christoph Lohmann
2013-06-14 18:55:25 +02:00
parent b0898c605d
commit 9df408f8c6
10 changed files with 410 additions and 4 deletions

41
env.1 Normal file
View File

@@ -0,0 +1,41 @@
.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)