Solved

Linux Log Files

Posted on 2004-09-21
3
554 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to change the nameserver on Ubuntu Server 6 100
regular expression help for sed command 5 64
sed replace command 12 32
Linux 6 38
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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

752 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