Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

Solve the following 1,4 3 2TT 5x- 1+ (15 x) dx 5X

Answered: 1 week ago