YouTip LogoYouTip

Linux Comm Newgrp

# Linux newgrp Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux newgrp command is used to log in to another group. The newgrp command is similar to the login command. It logs you into the system again with the same account but a different group name. To use the newgrp command to switch groups, you must be a user of that group; otherwise, you will not be able to log in to the specified group. For a single user to belong to multiple groups simultaneously, you need to use the alternate user settings. If no group name is specified, the newgrp command will log the user into their default group. ### Syntax newgrp ### Example Change group # newgrp root [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm ReniceLinux Comm Whois β†’