How can I open a text file and let it update itself? Similar to the way top works.I want to open a log file and watch it update itself on the fly.I have just tried:$ tail error.logBut just realised, that it just shows you the lines in the log file.I am using RHEL 5.10
Open a text file and let it update itself
files;monitoring;tail
You're looking for tail -f error.log (from man tail):   -f, --follow[={name|descriptor}]          output appended data as the file grows; -f, --follow, and --fol          low=descriptor are equivalentThat will let you watch a file and see any changes made to it.