Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I run simulations where output is printed in file. Is there a linux text editor which automatically updates files (while they are open and I am viewing them), in case it is not changed without asking (this will be something like console output). I will be thankful for the help.
Last edited by sparsh0mittal; 11-22-2011 at 01:37 PM.
Thanks. But tail command only shows the last lines.
My scenario is: while a simulation is going on, it prints same output in both std::cout and also a log file. After sometime, the std::cout stops printing any output, so I have to rely on the log file.
Now to understand the simulation, I need to understand the output while simulation is going on (they are long simulations). So if I use vim to open log file, it does not update the file (every time I have to close and open). So I was looking a gui/non-gui based editor, which could keep on updating my view of the log file.
Awesome! There a most likely other alternatives besides vim and tail, but if that works for you, then it works. Could you also mark your thread as solved, using the thread tools located at the top of the page? Thanks!
Forgot about that. That works, but if the file is really big, then technically it is kind of pointless, if you really think about it, especially when you are using a regular terminal, instead of an emulator like gnome-terminal, etc.