mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 07:53:19 +00:00
Update cheatsheets
This commit is contained in:
@@ -22,16 +22,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Read a file of BLAKE2 checksums and filenames and verify all files have matching checksums:
|
||||
|
||||
`b2sum --check {{path/to/file.b2}}`
|
||||
`b2sum {{[-c|--check]}} {{path/to/file.b2}}`
|
||||
|
||||
- Only show a message for missing files or when verification fails:
|
||||
|
||||
`b2sum --check --quiet {{path/to/file.b2}}`
|
||||
`b2sum {{[-c|--check]}} --quiet {{path/to/file.b2}}`
|
||||
|
||||
- Only show a message when verification fails, ignoring missing files:
|
||||
|
||||
`b2sum --ignore-missing --check --quiet {{path/to/file.b2}}`
|
||||
`b2sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.b2}}`
|
||||
|
||||
- Check a known BLAKE2 checksum of a file:
|
||||
|
||||
`echo {{known_blake2_checksum_of_the_file}} {{path/to/file}} | b2sum --check`
|
||||
`echo {{known_blake2_checksum_of_the_file}} {{path/to/file}} | b2sum {{[-c|--check]}}`
|
||||
|
||||
Reference in New Issue
Block a user