Kenyans247 Forum

Welcome, Guest: Join Kenyans247 LOGIN!

Stats: 223 Members, 11,206 topics and 65 posts Date: Thursday 02 April 2020 at 07:01 AM
TrendingRecentNewestClassifiedDirectoryLivescoresLive Kenyan TVLive Kenyan Radio

A "live" view of a logfile on Linux

Kenyans247 / Science/Technology / Computers / A "live" view of a logfile on Linux (12 View's)

A "live" View Of A Logfile On Linux
(Go Down) (» Reply topic)
A "live" view of a logfile on Linux by Kenyans247(m): Sun 22, March, 2020 08:28am
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.

(» Reply topic) (» Go Up)

Recommended for you

» A "live" View Of A Logfile On Linux
Viewing this topic:
1 guest(s) viewing this topic

Sections: Agriculture, Counties, Diaspora, Family, Culture, Phones, Computers, Technology Market, Art, Graphics & Video, Programing, Jokes Etc, Events, Social Media/K247 Chit-Chat, Theatre/Comedy, Gaming, Rwanda Forum, South Sudan Forum, Tanzania Forum, Ugandan Forum, Burundi Forum,

Kenyans247 - Copyright © 2019 - 2020 Sande Kennedy. All rights reserved. See How To Advertise.
Disclaimer: Every Kenyans247 member is solely responsible for anything that he/she posts or uploads on Kenyans247.