Exists a means to dynamically rejuvenate the less command?

I such as the watch command, yet it has its limitations.

I'm interested to recognize whether I can resemble the capability of watch with less. I'm mostly seeking the capacity to scroll via my directory as it dynamically obtains changed using a running manuscript.

0
2019-05-13 05:48:07
Source Share
Answers: 4

The "F" key when running less will certainly do a "adhere to" comparable to tail -f, yet I'm not exactly sure if that will certainly attain what you are seeking below.

0
2019-05-17 20:09:12
Source

You can pipeline it to tail -f rather, it would certainly cause you adhering to the result. You would certainly be shedding the capacity to relocate (scroll) via your result though.

0
2019-05-17 20:08:18
Source

Shift+F will certainly make less comparable to tailf. That is, it obtains rejuvenated if even more information is added to the documents.

0
2019-05-17 19:52:13
Source

In less, you can type F to maintain reviewing at the end of a documents (like tail -f) ; you can type :e and also a documents name to watch a various documents, yet however, if you enter the name of the existing documents, less does not refill the documents. Nonetheless there is a method to make it re - read the existing documents, recommended by sabgenton : type :e and also enter the name of a non - current documents ; that creates less to present a mistake message and afterwards refill the existing documents.

If you are seeking a choice to watch ls, below are a couple of:

  • Modern documents supervisors (as an example Nautilus, Thunar, Konqueror, Dolphin, Finder) refresh sights in actual time.
  • Emacs does not have actual - time rejuvenate, yet with auto-revert-mode, it will certainly refill the documents or directory site every 5 secs (the hold-up is configurable).
  • Although w3m is largely an internet internet browser, it makes a satisfactory directory site and also message documents visitor. Press R to refill the (neighborhood) URL.
0
2019-05-17 19:35:46
Source