1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:04:56 +02:00
tldr/pages/common/less.md
2016-03-04 10:33:57 +00:00

434 B

less

Opens a file for reading. Allows movement and search. Doesn't read the entire file (suitable for logs).

  • Open a file:

less {{source_file}}

  • Page up / down:

d (next), D (previous)

  • Go to start / end of file:

g (start), G (end)

  • Forward search for a string:

/{{something}} then n (next), N (previous)

  • Backward search for a string:

?{{something}} then n (next), N (previous)

  • Exit:

q