exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 14 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 14
Topic #: 1
[All LFCS Questions]

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

  • A. bcast
  • B. mesg
  • C. print
  • D. wall
  • E. yell
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Buruguduystunstugudunstuy
6 months, 1 week ago
Selected Answer: D
Option D. wall is the command that will write a message to the terminals of all logged-in users. The wall command is used to send a message to all users who are currently logged in to the system. The message is displayed on the terminal of each user, regardless of what they are currently doing. To use the wall command, you can specify the message to be sent as an argument: wall "This is a message for all users" This will send the message "This is a message for all users" to the terminals of all logged-in users. Option A: The bcast command does not exist. Option B: The mesg command is used to control the ability of other users to send messages to your terminal using the write or talk commands. It does not send a message to all logged-in users. Option C: The print command is used to print files or the output of other commands to a printer or a file. It does not send a message to all logged-in users. Option E: The yell command does not exist.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago