jail-attach(1) - SerenityOS man pages


jail-attach - attach a new process to existing jail


$ jail-attach <jail index> <command>


jail-attach attaches a new process by specifying a command, to an existing jail, with a specified jail index.



# Attach the command "ps -ef" to an already existing jail with the index 0
$ jail-attach -i 0 ps -ef
# Attach the command "/bin/Shell" to a new jail with the name "test jail"
$ jail-attach -n "test jail" /bin/Shell

#See also