August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/newgrp [- | -l][group]
newgrp [argument]
*
newgrp [argument...] Use the newgrp command to log in to a new group by changing your real and effective group ID. You remain logged in and the current directory is unchanged. The execution of newgrp always replaces the current shell with a new shell even if the command terminates with an error (unknown group).
Any variable that is not exported is reset to null or its default value. Exported variables retain their values. System variables (such as PS1, PS2, PATH, MAIL, and HOME) are reset to default values unless they have been exported by the system or the user. For example, when you have a primary prompt string (PS1) other ...
Read now
Unlock full access