Give a command for displaying the login name of the user who was the first to log on a system.

What will be an ideal response?


The following command will perform the given task. The sort +4 command sorts by the “time” field.

who | sort +4 | head -1 | cut -f1 -d’ ‘

Computer Science & Information Technology

You might also like to view...

When formatting a document, you will choose font and paragraph styles that fit the purpose of your document and the needs of the reader. Please describe what a style is and why it is important, and also explain how a style can be added or removed from a section of text.

What will be an ideal response?

Computer Science & Information Technology

Create a PL/SQL block to increase salary of employees in department 10. The salary increase is 15% for the employees making less than $100,000 and 10% for the employees making $100,000 or more. Use a cursor with a FOR UPDATE clause. Update the salary with a WHERE CURRENT OF clause in a cursor FOR loop (cursor FOR loop problem).

What will be an ideal response?

Computer Science & Information Technology

Which proprietary Cisco protocol was combined with PPTP to create the Layer 2 Tunneling Protocol (L2TP)?

A. L2F B. EIGRP C. CDP D. CGMP

Computer Science & Information Technology

You would install a(n) ________ if you wanted to enable new capabilities in your web browser.

A) toolbar B) add-on C) plug-in D) taskbar

Computer Science & Information Technology