| Main index | Section 8 | 日本語 | Options |
The following options are available:
| | |
| The working directory for running commands inside the jail. The default is the jail root directory. | |
| | |
|
Execute in a clean environment.
The environment is discarded except for
HOME, SHELL, TERM, USER,
and anything from the login class capability database for the user.
PATH
is set to "/bin:/usr/bin".
If a user is specified (via
| |
| | |
| The user name from host environment as whom the command should run. This is the default. | |
| | |
| The user name from jailed environment as whom the command should run. | |
# jexec name
It is also possible to specify a jail by its jid:
# jexec JID
# jexec name uname -a
# jexec -l name login -f root
| JEXEC (8) | March 5, 2025 |
| Main index | Section 8 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
| — The Unix Haters' handbook | ||