tail -f /path/thefile.logThis will give you a scrolling view of the logfile. As new lines are added to the end, they will show up in your console screen.
For Ruby on Rails, for instance, you can view the development logfile by running the command from your project directory:
tail -f log/development.logAs with all linux apps, Ctrl+C will stop it.
Posted by XERO . THANKS TO HOW TO GEEK - SOURCE