Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Note: Linux! 1. Question#1: Display the login names (e.g., u1180111) of all users whose last name is mohammad (all cases) and whose default shell is
Note: Linux!
1. 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. 2. Question\#2: Display the first names in uppercase of all unique users (all cases) with comp322 as part of their home directory, sorted by the numerical value of their user id numbers in descending order. 3. Question\#3: Select all sh shell usernames (full name, separated by a space in uppercase) and save them to a file called sh_shellusers. 4. Question\#4: Save users from user number 15th to user number 20th into a user's.txt file. The name in this file should appear in uppercase and sorted in descending order (i.e., first name and last name separated by a space). 5. Question\#5: Display the unique first names of all users (all cases) whose last names end with the letter between a-o, and save the result to the a_oSorted.txt file 6. Question\#6: List the full names (all in uppercase) sorted in descending order of all users whose shell is NOT zsh shell. 7. Question\#7: List the last names of all users (sorted based on ID number in ascending). The user that has a login name starts with u116. 8. Question\#8: Display all files in the (/etc.) directory does not contain word passwd in these files page by page on the screen 9. Question\#9: Display the number of directors in the /etc. The directory starts with any letters (a-k) for all cases. 10. Question\#10: List the initials (i.e., the first letter of the first name followed by the first letter of the last name) of all users with ksh as their default shell. Submission (on the Linux Server by the due date and time)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started