OS Manuals

/usr/bin/newgrp

Login utils from util-linux package newgrp last lastb login lslogins nologin sulogin

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

Usage:
 newgrp <group> [[-c] <command>]

Log in to a new group; optionally executing a shell command.

Options:
 -c, --command <command>  pass a command to the user's shell with -c

 -h, --help               display this help
 -V, --version            display version

For more details see newgrp(1).
Options (3)
OptionDescriptionSource
-c, --command commandPass command to the user’s shell with the -c option.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.