Name
newgrp
Synopsis
newgrp [-
] [group
]
Change user’s current group ID to the specified group. If no group is specified, change to the user’s login group. The new group is then used for checking permissions. If - is specified, also reinitialize the user’s environment.
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.