Getting Familiar with Linux Logs
May 14, 2009, 12:33 (0 Talkback[s])
(Other stories by Mark Sanborn)
No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation REGISTER >
"In almost all Linux distributions the Linux log files are
stored in '/var/log' directory. You can learn more about Linux
directory structure in this article.
"A common way to watch log files is to use the -f flag and tail.
Most log files are protected so you will need elevated privileges
to view them.
"Show the last few logins and display new ones as they are
authenticated. Ctrl + C to quit.
sudo tail -f auth.log"