mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 16:35:28 +02:00
sha*sum: add example about the creation of a list of checksums
This commit is contained in:
parent
45d36431de
commit
7076fe8a9c
6 changed files with 24 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
|
||||
`sha1sum {{filename1}} {{filename2}}`
|
||||
|
||||
- Calculate and save the list of SHA1 checksums to a file
|
||||
|
||||
`sha256sum {{filename1}} {{filename2}} > {{filename.sha1}}`
|
||||
|
||||
- Read a file of SHA1 sums and verify all files have matching checksums:
|
||||
|
||||
`sha1sum --check {{filename.sha1}}`
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
`sha224sum {{filename1}} {{filename2}}`
|
||||
|
||||
- Calculate and save the list of SHA224 checksums to a file
|
||||
|
||||
`sha256sum {{filename1}} {{filename2}} > {{filename.sha224}}`
|
||||
|
||||
- Read a file of SHA224 sums and verify all files have matching checksums:
|
||||
|
||||
`sha224sum --check {{filename.sha224}}`
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
`sha256sum {{filename1}} {{filename2}}`
|
||||
|
||||
- Calculate and save the list of SHA256 checksums to a file
|
||||
|
||||
`sha256sum {{filename1}} {{filename2}} > {{filename.sha256}}`
|
||||
|
||||
- Read a file of SHA256 sums and verify all files have matching checksums:
|
||||
|
||||
`sha256sum --check {{filename.sha256}}`
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
`sha384sum {{filename1}} {{filename2}}`
|
||||
|
||||
- Calculate and save the list of SHA384 checksums to a file
|
||||
|
||||
`sha256sum {{filename1}} {{filename2}} > {{filename.sha384}}`
|
||||
|
||||
- Read a file of SHA384 sums and verify all files have matching checksums:
|
||||
|
||||
`sha384sum --check {{filename.sha384}}`
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
`sha512sum {{filename1}} {{filename2}}`
|
||||
|
||||
- Calculate and save the list of SHA512 checksums to a file
|
||||
|
||||
`sha256sum {{filename1}} {{filename2}} > {{filename.sha512}}`
|
||||
|
||||
- Read a file of SHA512 sums and verify all files have matching checksums:
|
||||
|
||||
`sha512sum --check {{filename.sha512}}`
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
`shasum --algorithm 512 {{filename1}} {{filename2}}`
|
||||
|
||||
- Calculate and save the list of SHA256 checksums to a file
|
||||
|
||||
`shasum --algorithm 256 {{filename1}} {{filename2}} > {{filename.sha256}}`
|
||||
|
||||
- Check a file with a list of sums against the directory's files:
|
||||
|
||||
`shasum --check {{list_file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue