Wednesday, May 29, 2013

Debugging on Linux

"Where can I look in my file system that shows errors and problems?"

Watch the log files!

On Ubuntu:
 $ sudo tail -f /var/log/syslog

or on Fedora:
$ sudo tail -f /var/log/messages

$ sudo tail -f /var/log/dmesg

The nice thing about Linux is that you can always see what is going on.  You need not poke around in the dark when looking for the cause of a problem.

No comments:

Post a Comment

On topic comments are welcome. Junk will be deleted.