Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux Log Files

Posted on 2004-09-21
3
Medium Priority
?
558 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 500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

963 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