PrepAway - Latest Free Exam Questions & Answers

What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual

What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual console 12?

A.
*.* /dev/tty12

B.
/var/log/messages | /dev/tty12

C.
| /dev/tty12

D.
syslog tty12

E.
mail.* /dev/tty12

Explanation/Reference:
The syntax of the syslogd.conf is basically
selector action
where selector specifies what log messages and action can be programs, files, or an email address.

B,C,D miss the selector, and E only sends mail logs to console 12


Leave a Reply