mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 21:17:56 +01:00
14 lines
355 B
Markdown
14 lines
355 B
Markdown
|
# sha256sum
|
||
|
|
||
|
> Calculate SHA256 cryptographic checksums
|
||
|
|
||
|
- Calculate the SHA256 checksum for file(s) or files in a directory, one checksum per file
|
||
|
|
||
|
`sha256sum {{filename1}}`
|
||
|
`sha256sum {{filename1}} {{filename2}}`
|
||
|
`sha256sum {{directory/\*}}`
|
||
|
|
||
|
- Read a file of SHA256 sums and verify all files have matching checksums
|
||
|
|
||
|
`sha256sum -c {{filename.sha256}}`
|