OS Manuals

/usr/bin/setpgid

Misc binaries for util-linux

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

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

Run a program in a new process group.

Options:
 -f, --foreground    Make a foreground process group
 -h, --help          display this help
 -V, --version       display version

For more details see setpgid(1).
Options (3)
OptionDescriptionSource
-f, --foregroundMake the new process group the foreground process group of the controlling terminal if there is a controlling terminal.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.