This approach works for any linux operating system, including Ubuntu, and is probably most often used in conjunction with web development work.
tail -f /path/thefile.log
This 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.log
As with all linux apps, Ctrl+C will stop it.
Categories
- GNU/Linux (20)
- Linux Security (12)
- Ubuntu Tutorials (20)
- Web Browsers (1)
- Windows 2000 (20)
- Windows 2003 (13)
- Windows 7 (8)
- Windows Vista (43)
- Windows XP (54)
Bookmark us
Tuesday, July 8, 2008
A "live" view of a logfile on Linux
Posted by
Tutorialsland Staff
at
4:15 PM
Labels: Ubuntu Tutorials
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment