Checklist of valuable 'less' features
As opposed to request for your favored, allows simply detail them off.
What are the better commands inside
Directly, I make use of:
?(search in reverse)
F(enable tail -f like behvaior, Ctrl-C to burst out of it)
v(open documents in $EDITOR for editing and enhancing, defaults to vi/vim)
Other than the noticeable, my 2 faves :
export LESS=-FX- if there is under one web page, I do not require to push
qto give up
/^HEADINGto look for headings and also
/^ *-optionto look for alternatives
(specifically valuable in the celebration male web page, which in large)
This isn't a function within
less, yet it is a valuable attribute.
I such as male web pages, and also favor less(1) as my pager. Nonetheless, the majority of GNU software program maintains the guidebook in the info(1) (GNU Texinfo) layout, and also I'm not a follower of the details (1) user interface. Simply offer me less.
So, I read details (1) web pages making use of
less rather. The adhering to command will certainly publish out the details (1) web pages, making use of the acquainted user interface of less!
info gpg |less
One can additionally make use of the mark attribute to bear in mind (and also leap back to) details placements in the documents.
As an example, type
ma to note a placement with the tag
"a". To leap back to the placement, merely type
'a. Tags can be any kind of alphabet (instance delicate) hence permitting approximately 52 feasible marks ([ a - zA - Z ]) although I hardly ever make use of greater than 2.
u- up fifty percent web page
d- down fifty percent web page
k- scroll solitary align
j- scroll solitary line down
-i- instance aloof looking unless pattern has resources (as clo or in less)
/ /pattern/- search (made use of with n)
-p /pattern/open documents at/ pattern/ (as clo)
& /pattern/show lines having/ pattern/ (like grep)