Question: Question 2 : Using the given prj 2 _ passwd file, use your system to write a single command to do each of the following

Question 2:
Using the given prj2_passwd file, use your system to write a single command to do each of the following (Write the number of the question and the answer to a file called Question2_answers). You MUST also take screen captures or images clearly showing the commands you executed on your system for each question below and the results displayed on the screen. The screen captures, or images should be included in sequence in a Word file called Question2 images.
Question#1: Display the login names (e.g., u1180111) of all users whose last name is Mohammad (all cases) and whose default shell is zsh.
Question#2: Display the first names of all unique users (all cases) in uppercase with comp322 as part of their home directory, sorted by the numerical value of their user ID numbers in descending order.
Question#3: Select all sh shell usernames (full name, separated by a space in uppercase) and save them to a file called sh_shellusers.
Question#4: Save users from user number 15th to user number 20th into a user.txt file. The
 Question 2: Using the given prj2_passwd file, use your system to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!