1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 21:38:16 +01:00
tldr/pages/linux/sha256sum.md

14 lines
355 B
Markdown
Raw Normal View History

# 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}}`