newgrp
Switch primary group membership. More information: https://manned.org/newgrp.
- Change user's primary group membership:
newgrp {{group_name}}
- Reset primary group membership to user's default group in
/etc/passwd
:newgrp
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.