OS Manuals

/usr/bin/setsid

Misc binaries for util-linux

From util-linux-misc 2.42.4-r2 (os), captured 2026-11-05 by running setsid --help (exit 0). permalink

Usage:
 setsid [options] <program> [<argument>...]

Run a program in a new session.

Options:
 -c, --ctty     set the controlling terminal to the current one
 -f, --fork     always fork
 -w, --wait     wait program to exit, and use the same return
 -h, --help     display this help
 -V, --version  display version

For more details see setsid(1).
Options (5)
OptionDescriptionSource
-c, --cttySet the controlling terminal to the current one.help + man
-f, --forkAlways create a new process.help + man
-w, --waitWait for the execution of the program to end, and return the exit status of this program as the exit status of setsid.help + man
-h, --helpDisplay help text and exit.help + man
-V, --versionDisplay version and exit.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.