tldr/pages/linux/sha1sum.md

16 lines
314 B
Markdown
Raw Normal View History

# sha1sum
> Calculate SHA1 cryptographic checksums.
2016-01-20 14:45:42 +03:00
- Calculate the SHA1 checksum for a file:
`sha1sum {{filename1}}`
2016-01-20 14:45:42 +03:00
- Calculate SHA1 checksums for multiple files:
`sha1sum {{filename1}} {{filename2}}`
- Read a file of SHA1 sums and verify all files have matching checksums:
`sha1sum -c {{filename.sha1}}`