sbase/chroot.1
FRIGN e51a2e6d2f Use ISO-date-format in manpages
The one specified by mdoc is hard to read for non-native
speakers from countries which read the date day-first (like
Germany, Greece, North-Korea, Swamp,...).
This is also consistent with how we generally specify dates
at suckless.org.
2015-10-08 17:15:08 +02:00

26 lines
455 B
Groff

.Dd 2015-10-08
.Dt CHROOT 1
.Os sbase
.Sh NAME
.Nm chroot
.Nd run a command or shell with a different root directory
.Sh SYNOPSIS
.Nm
.Ar dir
.Op Ar cmd Op Ar arg ...
.Sh DESCRIPTION
.Nm
runs
.Ar cmd
after changing the root directory to
.Ar dir
with the
.Xr chroot 2
system call and after changing the working directory to the new root.
If
.Ar cmd
is not specified, an interactive shell is started in the new root.
.Sh SEE ALSO
.Xr chdir 2 ,
.Xr chroot 2