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