Linux Today: Linux News On Internet Time.

More on LinuxToday

Getting Familiar with Linux Logs

May 14, 2009, 12:33 (0 Talkback[s])
(Other stories by Mark Sanborn)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

"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"

Complete Story

Related Stories: