[[!meta title="PROKIT-SHELL"]]
NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
COPYRIGHT
prokit-shell - Run a shell in an isolated environment
prokit shell root [command [argument ...]]
prokit shell starts a shell in an isolated file system environment (using chroot(8)) with basic file systems mounted.
If root is a block device node, the block device is mounted and a shell is started in its file system.
If a command is given (with optional arguments), it is executed in a non-interactive shell.
• |
# prokit shell $root echo Hello world | ||
• |
# prokit shell $root ’opkg install build-essential-$(cat /etc/proteanos_arch)’ | ||
• |
# prokit shell /dev/sdb1 |
Copyright (C) 2014 Patrick McDermott
The ProteanOS Development Kit is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
The ProteanOS Development Kit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the ProteanOS Development Kit. If not, see <http://www.gnu.org/licenses/>.