Use the command less /etc/passwd to look at the password fi le on your system. Notice that the fi le contains one line per userid, and that each line contains a number of fi elds, separated by : characters. The fi rst fi eld is the userid. Create a pipeline that generates a sorted, numbered list of all the userids on your system. Hint: use cut (Chapter 17), then sort, then nl.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here