Getting Familiar with Linux Logs
May 14, 2009, 12:33 (0 Talkback[s])
(Other stories by Mark Sanborn)
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 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"