mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# docker rmi
|
||||
|
||||
> Remove Docker images.
|
||||
> More information: <https://docs.docker.com/engine/reference/commandline/rmi/>.
|
||||
> More information: <https://docs.docker.com/reference/cli/docker/image/rm/>.
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
4
tldr/nnn
4
tldr/nnn
@@ -27,3 +27,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
- Sort files on [a]pparent disk usage / [d]isk usage / [e]xtension / [r]everse / [s]ize / [t]ime / [v]ersion:
|
||||
|
||||
`nnn -T {{a|d|e|r|s|t|v}}`
|
||||
|
||||
- Open a file you have selected. Select the file then press `o`, and type a program to open the file in:
|
||||
|
||||
`nnn -o`
|
||||
|
||||
25
tldr/tspin
Normal file
25
tldr/tspin
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tspin
|
||||
|
||||
> A log file highlighter based on the `less` pager and basically behaves like any pager.
|
||||
> More information: <https://github.com/bensadeh/tailspin>.
|
||||
|
||||
- Read from file and view in `less`:
|
||||
|
||||
`tspin {{path/to/application.log}}`
|
||||
|
||||
- Read from another command and print to stdout:
|
||||
|
||||
`journalctl -b --follow | tspin`
|
||||
|
||||
- Read from file and print to `stdout`:
|
||||
|
||||
`tspin {{path/to/application.log}} --print`
|
||||
|
||||
- Read from stdin and print to `stdout`:
|
||||
|
||||
`echo "2021-01-01 12:00:00 [INFO] This is a log message" | tspin`
|
||||
Reference in New Issue
Block a user