Multiple choice

The command that can be used to restrict incoming message to a user is

  1. mesg

  2. grep

  3. halt

  4. sleep

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The mesg command controls whether other users can send messages to your terminal using write or wall. mesg n disables incoming messages. grep searches text, halt shuts down the system, and sleep pauses execution.