I would like to open up a file using less, and have it automatically scroll the file similar to tail -f
.
I know that I can do less file
, and then hit Shift-F
to forward forever; like tail -f
.
I need less
because it provides the --raw-control-chars
flag, which is necessary because my input is colorful.
Best Answer
use the command "F" while inside of less.
or, to do so automatically, use the +cmd option: