IT-Dienstleistungen

less

→ All mini tutorials

FreeBSD-Linux

How to read and search man pages effectively with less as a pager

# less(1) is usually the default pager to display man pages

--incsearch # does what it says
-i # case-insensitive
/ # search forwards
? # search backwards
d # half a page forwards
SPACE # full page forwards
u # half a page backwards
m[letter] # mark the first line displayed with [letter]
M[letter] # mark the last line displayed with [letter]
'[letter] # go to the line you marked with [letter]

# bonus: coloured less(1) output when replaying script(1) file
script -dp myscript | less -r

Zahlung veranlassen