Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Getting Familiar with Linux Logs

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

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