exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 4 question 17 discussion

Actual exam question from CompTIA's LX0-104
Question #: 17
Topic #: 4
[All LX0-104 Questions]

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

  • A. *.* /dev/tty12
  • B. /var/log/messages | /dev/tty12
  • C. | /dev/tty12
  • D. syslog tty12
  • E. mail.* /dev/tty12
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
linux_admin
2 years, 2 months ago
A. *.* /dev/tty12 is the correct entry that can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12. The syslog.conf file is used to configure the syslog service on a UNIX-like system, and it determines where syslog messages are sent and how they are processed. Each line in the syslog.conf file represents a rule that maps a specific syslog facility and priority to a destination. The general format of a rule is: <facility>.<priority> <destination> where <facility> is the name of the syslog facility (such as auth, mail, or daemon), <priority> is the severity level of the message (such as err, warning, or info), and <destination> is the target for the messages (such as a file, a remote host, or a console). In the case of console 12, the correct entry would be *.* /dev/tty12, which tells syslog to send all messages of all facilities and all priorities to the console.
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