mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 03:58:03 +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 SHA384 checksums and filenames and verify all files have matching checksums:
|
||||
|
||||
`sha384sum --check {{path/to/file.sha384}}`
|
||||
`sha384sum {{[-c|--check]}} {{path/to/file.sha384}}`
|
||||
|
||||
- Only show a message for missing files or when verification fails:
|
||||
|
||||
`sha384sum --check --quiet {{path/to/file.sha384}}`
|
||||
`sha384sum {{[-c|--check]}} --quiet {{path/to/file.sha384}}`
|
||||
|
||||
- Only show a message when verification fails, ignoring missing files:
|
||||
|
||||
`sha384sum --ignore-missing --check --quiet {{path/to/file.sha384}}`
|
||||
`sha384sum --ignore-missing {{[-c|--check]}} --quiet {{path/to/file.sha384}}`
|
||||
|
||||
- Check a known SHA384 checksum of a file:
|
||||
|
||||
`echo {{known_sha384_checksum_of_the_file}} {{path/to/file}} | sha384sum --check`
|
||||
`echo {{known_sha384_checksum_of_the_file}} {{path/to/file}} | sha384sum {{[-c|--check]}}`
|
||||
|
||||
Reference in New Issue
Block a user