Trang Huynh
Member
What is Unix Newgrp command?
Answer
The newgrp command is used to change the current GID (group ID) during a login session. If a hyphen (“-“) is included as an argument, the user’s environment is initialized as though he or she had logged in; otherwise, the current working environment remains unchanged.
Answer
The newgrp command is used to change the current GID (group ID) during a login session. If a hyphen (“-“) is included as an argument, the user’s environment is initialized as though he or she had logged in; otherwise, the current working environment remains unchanged.