Just like this question: I want to open a file with e.g.,
less -Sx32 file.dat, but as I scroll down, keep the top line locked in place. How can I do this with
It requires some changes to
less. There exists an enhancement request here in GitHub. If it was implemented, you could use something like
less --freeze-pane 0,1 file.dat
to do what you want.