>_ linuxcommand.dev
Startseite newgrp
User Management

newgrp

Switches to the specified group.

Syntax
$newgrp [GROUPNAME]
Examples
Examples
$newgrp sudo
Examples
$newgrp - sudo
Warnings
Exit with exit or logout
Typical use cases
Switch group
newgrp sudo
Persistent switch
export GROUPS=... (not recommended)
Note Creates a new session with the target group if needed.
Export