How to use the who command: 2-Minute Linux Tips

How to use the who command: 2-Minute Linux Tips

Assessment

Interactive Video

Architecture, Information Technology (IT)

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the 'Who' command in Linux, detailing its primary function of listing logged-in users and additional options like checking the last boot time and current run state. It also covers how to count logged-in users and create aliases for the command to simplify usage.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'who' command primarily display?

The system's current run level

The last boot time of the system

The system's IP address

A list of logged-in users

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What information does 'who -b' provide?

The IP address of logged-in users

The last boot time of the system

The system's current run level

The number of users currently logged in

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does run level 5 indicate?

Graphical user interface mode

System maintenance mode

Multi-user mode with networking

Single-user mode

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you get a simple count of logged-in users?

Using 'who -b'

Using 'who -r'

Using 'who -q'

Using 'who -a'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the benefit of creating aliases for commands?

To display the system's IP address

To change the system's run level

To make commands more understandable or shorter

To increase the number of logged-in users