forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
alpreu
authored and
alpreu
committed
Oct 4, 2017
1 parent
2ec20d4
commit 377c0e1
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# shasum | ||
|
||
> Calculate or check cryptographic SHA checksums. | ||
- Calculate the SHA1 checksum for a file: | ||
|
||
`shasum {{filename}}` | ||
|
||
- Calculate the SHA256 checksum for a file: | ||
|
||
`shasum -a 256 {{filename}}` | ||
|
||
- Calculate the SHA512 checksum for multiple files: | ||
|
||
`shasum -a 512 {{filename1}} {{filename2}}` | ||
|
||
- Check a file with a list of sums against the directorys files: | ||
|
||
`shasum -c {{list_file}}` | ||
|
||
- Calculate the SHA1 checksum from stdin: | ||
|
||
`{{somecommand}} | shasum` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# shasum | ||
|
||
> Calculate or check cryptographic SHA checksums. | ||
- Calculate the SHA1 checksum for a file: | ||
|
||
`shasum {{filename}}` | ||
|
||
- Calculate the SHA256 checksum for a file: | ||
|
||
`shasum -a 256 {{filename}}` | ||
|
||
- Calculate the SHA512 checksum for multiple files: | ||
|
||
`shasum -a 512 {{filename1}} {{filename2}}` | ||
|
||
- Check a file with a list of sums against the directorys files: | ||
|
||
`shasum -c {{list_file}}` | ||
|
||
- Calculate the SHA1 checksum from stdin: | ||
|
||
`{{somecommand}} | shasum` |