Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

41
less Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# less
> Open a file for interactive reading, allowing scrolling and search.
> More information: <https://greenwoodsoftware.com/less/>.
- Open a file:
`less {{source_file}}`
- Page down/up:
`<Space> (down), b (up)`
- Go to end/start of file:
`G (end), g (start)`
- Forward search for a string (press `n`/`N` to go to next/previous match):
`/{{something}}`
- Backward search for a string (press `n`/`N` to go to next/previous match):
`?{{something}}`
- Follow the output of the currently opened file:
`F`
- Open the current file in an editor:
`v`
- Exit:
`q`