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:
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Download the same file from different mirrors and verify the checksum of the downloaded file:
|
||||
|
||||
`aria2c --checksum={{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"`
|
||||
`aria2c --checksum {{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"`
|
||||
|
||||
- Download the URIs listed in a file with a specific number of parallel downloads:
|
||||
|
||||
|
||||
10
tldr/cut
10
tldr/cut
@@ -8,14 +8,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Cut out fields from `stdin` or files.
|
||||
> More information: <https://www.gnu.org/software/coreutils/cut>.
|
||||
|
||||
- Print a specific character/field range of each line:
|
||||
- Print a specific [c]haracter/[f]ield range of each line:
|
||||
|
||||
`{{command}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}`
|
||||
|
||||
- Print a field range of each line with a specific delimiter:
|
||||
- Print a [f]ield range of each line with a specific [d]elimiter:
|
||||
|
||||
`{{command}} | cut --delimiter "{{,}}" --fields {{1}}`
|
||||
|
||||
- Print a character range of each line of the specific file:
|
||||
- Print a [c]haracter range of each line of the specific file:
|
||||
|
||||
`cut --characters {{1}} {{path/to/file}}`
|
||||
|
||||
- Print specific [f]ields of `NUL` terminated lines (e.g. as in `find . -print0`) instead of newlines:
|
||||
|
||||
`{{command}} | cut --zero-terminated --fields {{1}}`
|
||||
|
||||
@@ -12,6 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`fastfetch`
|
||||
|
||||
- Display system information without a logo and escape sequences:
|
||||
|
||||
`fastfetch --pipe`
|
||||
|
||||
- Fetch a specific structure:
|
||||
|
||||
`fastfetch --structure {{structure}}`
|
||||
|
||||
13
tldr/sunicontopnm
Normal file
13
tldr/sunicontopnm
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sunicontopnm
|
||||
|
||||
> Convert a Sun icon into a Netpbm image.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/sunicontopnm.html>.
|
||||
|
||||
- Convert a Sun icon into a Netpbm image:
|
||||
|
||||
`sunicontopnm {{path/to/input.ico}} > {{path/to/output.pbm}}`
|
||||
Reference in New Issue
Block a user