Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Implementing who command Write a program that can display the list of users currently logged in to the UNIX computer. What to do? Write a
Implementing who command
Write a program that can display the list of users currently logged in to the UNIX computer.
What to do?
- Write a C program mywho whose behavior resembles that of the system command who as closely as possible. To decide what information in what format mywho should display, run the standard who command on your computer:
~$ who
CS355_u0 pts/2 2018-09-24 -1:28 (24.123.66.134)
CS355_u0 pts/5 2018-09-24 -1:28 (24.123.66.134)
- mywho is not expected to accept any command line arguments.
Submit
- A single C source code file with your work.
- One screenshot (in PNG, JPG or JPEG format) showing the results of executing the standard system command who immediately followed by the results of executing your program mywho on a Linux terminal.
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