nerdexam
Linux_Foundation

LFCS · Question #814

Which of the following commands will write a message to the terminals of all logged in users?

The correct answer is D. wall. The wall command sends a message to the terminals of all users currently logged into the system.

Submitted by rania.sa· Apr 18, 2026Essential Commands

Question

Which of the following commands will write a message to the terminals of all logged in users?

Options

  • Abcast
  • Bmesg
  • Cprint
  • Dwall
  • Eyell

How the community answered

(20 responses)
  • A
    5% (1)
  • B
    5% (1)
  • D
    90% (18)

Why each option

The `wall` command sends a message to the terminals of all users currently logged into the system.

Abcast

`bcast` is not a standard Linux command used for broadcasting messages to all logged-in users.

Bmesg

The `mesg` command is used to control whether other users are permitted to write to your terminal, not to send messages to others.

Cprint

`print` is a shell built-in or command used to output text to standard output, not to broadcast messages to all users.

DwallCorrect

The `wall` command, which stands for 'write all', is specifically designed to write a message to every user currently logged in on the system. It broadcasts the standard input or a specified message to all terminal sessions.

Eyell

`yell` is not a standard Linux command for sending messages to all logged-in users.

Concept tested: `wall` command for broadcasting messages

Source: https://man7.org/linux/man-pages/man1/wall.1.html

Topics

#wall command#User communication#Terminal messaging

Community Discussion

No community discussion yet for this question.

Full LFCS Practice