1. Run the date command on your system. Is your system clock accurate? Run the command ntpd –gnq. Did you system time change? By how much?

  2. Add this line:

    *.*    /var/log/everything

    to /etc/syslog.conf and restart syslog. Now run tail –f /var/log/everything. What kinds of things do you see? How often are events written to this log?

  3. Add the local5 facility to your configuration. Use logger to write to your new logfile, and verify its contents. Compare your log entries with those in /var/log/messages.

  4. Examine /etc/logrotate.conf. What happens after /var/log/messages is rotated?

  5. On a system with an existing printer, examine /etc/printcap. Which print filter is used for the printer? Which queue or queues are directed at the printer?

  6. Check the printer status with lpq -P printer and lpc status. Print to the queue using lpr -P printer file.

  7. Examine /var/spool/lpd for the spool directory of your print queue. Examine the files you find there.

  8. Determine what MTA is installed on your system. Is it listening on TCP port 25? How can you tell?

  9. Type the command telnet localhost 25. What do you see?

  10. Type the command echo “test” | mail root. Now type tail /var/log/maillog. Was your mail delivered? How can you tell?

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.