1,885
edits
Changes
m
no edit summary
Write scripts to do three of the following tasks:
1. Loop through the files in your home directory, and for each readable file, ask whether the file should be printed, mailed to you, or ignored (P/M/I) and then take the appropriate action.
2. Display the longest and shortest usernames on the system (usernames are in the first field in /etc/passwd).
3. Count the number of users with user IDs between 500 and 10000 on the system (user IDs are the third field in /etc/passwd).