Hands-on task
This task is step 2 of the course “Users, groups and permissions”
List the groups from /etc/group
For an access audit, export the names of all groups on the system (the first field of /etc/group) to /root/groups.txt, one per line.
What you'll practise:
- /etc/group
- cut
- fields and delimiters
- output redirection