Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions