Linux newgrp command
Linux newgrp command is used to sign in to another group.
newgrp command similar to the login instructions that, when it is based on the same account, another group name, login to the system again. To use the newgrp command to switch groups, you must be a user of the group will not be able to sign in the specified group. Single user to simultaneously belong to different groups, users need to use alternate settings. If no group name, the newgrp command will sign the default user group name.
grammar
newgrp [群组名称]
Examples
Change group
# newgrp root