Linux Foundation Certified System Administrator (LFCS) — Question 55
Which of the following commands will write a message to the terminals of all logged in users?
Answer options
- A. bcast
- B. mesg
- C. print
- D. wall
- E. yell
Correct answer: D
Explanation
The correct answer is D, 'wall', which stands for 'write all' and is specifically designed to send messages to all logged-in users. The other options either do not exist as valid commands for this purpose or serve different functions, such as 'mesg' which controls write permissions, but does not send messages.