Solved

Linux Log Files

Posted on 2004-09-21
3
547 Views
Last Modified: 2013-12-16
I would like to keep a couple of windows open to have logs auto scroll, is there a linux command to auto scroll log files as activity happens.

thanks
0
Comment
Question by:nashsupport
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
scampgb earned 125 total points
ID: 12111764
Hi nashsupport,

You can do this with the "tail" command, with the parameter "-f"

For example:
tail -f /var/log/messages

Does that help?
0
 

Author Comment

by:nashsupport
ID: 12111918
thanks, helped a bunch
0
 
LVL 15

Expert Comment

by:scampgb
ID: 12111944
Glad I could help :-)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now