Make 'less' behave like 'tail -f'.

less +F somelogfile
Using +F will put less in follow mode. This works similar to 'tail -f'. To stop scrolling, use the interrupt. Then you'll get the normal benefits of less (scroll, etc.). Pressing SHIFT-F will resume the 'tailling'.

By: adamm9
2009-02-19 14:33:46

What Others Think

just more confirmation that less is more
wwest4 · 675 weeks and 1 day ago
When using log files to troubleshoot, I like to use the following variation: less -W +F somelogfile Using -W highlights the first (unread) new line after any forward movement such as scrolling to the next page. Pressing SHIFT+CTRL+C (on windows) will put you back into normal mode Pressing SHIFT+F will resume the 'tailling' (as mentioned above) Pressing g will take you to the beginning of the file Pressing SHIFT+G will take you to the end of the file Pressing f will forward you one page Pressing b will take you back one page Pressing q will quit the program
wilmoore · 655 weeks and 1 day ago
Very nifty trick!
Karunamon · 530 weeks and 3 days ago
Alternatively, you can just type in a capital F at any point when using less. You don't have to start it with +F specified. Both ways are good, of course. :)
ZoeB · 423 weeks ago
That is so interesting that you have just created an amazing service like elearning during COVID 19 which affected so many people lives already also we can go on to essay help online service to learn new about writing or even they help you with your homework to complete on time
Falk1993 · 24 weeks and 3 days ago
Is essay help online legit? If you are not able to write your essay on your own but have questions about how to proceed or have some corrections to make then it might be time for you to seek the help of essay consultants. The question is not if essay consultants are legit, since they can definitely provide the help that you need to write an essay. The real question is; how much should you pay? The following are the factors that determine your price and how much you should expect to get in exchange for your hard work. What is essay help and where do I find it? You can find essay help on most of the popular Academic writing Help websites and most of the times those sites are supported by the university or colleges that you are enrolling in. The only way to really know how much you should pay for professional academic writing help would be to talk to a few professors at your school and see how much they actually charge students for their academic writing help I have to pay for the essay help that I receive? Only the best courses are offered and there is no catch involved in this situation. If you feel like you got yourself into a serious bind with your assignments and you don't know where else to turn then a great idea is to look into getting some essay help from either the writer himself or the writer's assistance program. The writers' assistance program may cost a little more but it could end up saving you hundreds of dollars in the long run and that money can easily be used towards your next semester's tuition.
theronmad · 15 weeks and 1 day ago
Very useful. Thank you. Victorville junk hauling
mark21 · 11 weeks ago
This writing company makes sure that their papers are all of the great quality and all the customers are satisfied. They work only with professional writers and support managers. Here you can order research paper, thesis, coursework, dissertation or any other writing assignment.
MyrtoUzuni · 10 weeks and 5 days ago
seofox · 10 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: