Sorted account diff
Use comm to separate shared and unique account names.
Understand the pattern
Explaining differences between sorted text sets helps operators explain what they know before they change anything.
nl- Number input lines for a readable evidence reference.
Line numbers depend on the exact file version and numbering mode.
comm- Compare sorted line sets and select unique or common columns.
Both inputs must be sorted under the same ordering rules.
Worked example and expected result
$ nl data/users-a.txt 1 admin
2 learner
3 www-dataExit status: 0. The command completed successfully in the training fixture.
$ nl data/users-b.txt 1 backup
2 learner
3 www-dataExit status: 0. The command completed successfully in the training fixture.
$ comm data/users-a.txt data/users-b.txtadmin backup learner www-data
Exit status: 0. The command completed successfully in the training fixture.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Journal line numberingTry an incident drillAnonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.