Ever wonderd how you could change your current group without ending your current session (i.e. logging out and in again)?
You can use newgrp to achieve this. Simply enter newgrp <desired group> and you’re done. Of course this only works for groups you are a member in or have the group password.
0 Responses to “Linux: Change Groups without leaving current session”