Hands-on task
This task is step 12 of the course “cut, sort, uniq and friends”
Who is missing from the system
The file /root/expected.txt contains a list of logins that must exist on the system (one per line). Find out which of them are not in /etc/passwd and write the missing logins to /root/missing.txt.
What you'll practise:
- comm
- -23
- process substitution
- sorting
- cut