mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00

This happens in two ways: 1. LibCore now has two new methods for creating Jails and attaching processes to a Jail. 2. We introduce 3 new utilities - lsjails, jail-create and jails-attach, which list jails, create jails and attach processes to a Jail, respectively.
21 lines
357 B
Markdown
21 lines
357 B
Markdown
## Name
|
|
|
|
jail-attach - attach a new process to existing jail
|
|
|
|
## Synopsis
|
|
|
|
```**sh
|
|
$ jail-attach <jail index> <command>
|
|
```
|
|
|
|
## Description
|
|
|
|
`jail-attach` attaches a new process by specifying a command, to an existing jail, with a
|
|
specified jail index.
|
|
|
|
## Examples
|
|
|
|
```sh
|
|
# Attach the command "ps -ef" to a jail with the index 0
|
|
$ jail-attach 0 ps -ef
|
|
```
|