Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part 2 (20 pts) 1) The who command displays information related to users that are currently logged in. Type the command at your prompt and
Part 2 (20 pts) 1) The who command displays information related to users that are currently logged in. Type the command at your prompt and check what is displayed. Write a pipelined command to display the names of the users logged in during the afternoon time (using military time, 13.00 - 24.00) and the time they logged in. Approach: Firstly, run the who command and check the fields in the output. You may want to squeeze multiple spaces between the fields into a single space (tr with a -s option). Check the time field and find the pattern (military time 13.00-24.00). You may have to use the cut and grep
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