1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 23:17:56 +01:00
tldr/pages/common/less.md
2016-01-08 09:38:59 +01:00

343 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)

  • Search for a string:

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

  • Exit:

q