Write a program called whos to display a sorted list of the logged-in users. Just display the usernames and no other information. Type in the program and test it out.

What will be an ideal response?


# whos -- who is logged in?

# uses the -d argument of cut to specify that whitespace is a field delimiter

who | cut -d\ -f1
exit 0

Computer Science & Information Technology

You might also like to view...

When a Web site is requested and information from a text file is sent along with the request, a(n) ________ for that Web site was stored on your computer

Fill in the blank(s) with correct word

Computer Science & Information Technology

List the four (4) layers of platform architecture in order.            ____________________            ____________________            ____________________            ____________________

What will be an ideal response?

Computer Science & Information Technology

As Blender is free software, its developers are volunteers and there is no money involved in its

development process. Indicate whether the statement is true or false

Computer Science & Information Technology

What IDS component performs trend analysis and stores the IP address and information about the attacker?

a. Network sensors b. Report analysis c. Database and storage d. Response box

Computer Science & Information Technology