1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/b2sum.md
2021-04-01 18:54:26 +03:00

20 lines
466 B
Markdown

# b2sum
> Calculate BLAKE2 cryptographic checksums.
> More information: <https://www.gnu.org/software/coreutils/b2sum>.
- Calculate the BLAKE2 checksum for a file:
`b2sum {{filename1}}`
- Calculate BLAKE2 checksums for multiple files:
`b2sum {{filename1}} {{filename2}}`
- Read a file of BLAKE2 sums and filenames and verify all files have matching checksums:
`b2sum -c {{filename.b2}}`
- Calculate the BLAKE2 checksum from stdin:
`{{somecommand}} | b2sum`