Skip to content

Commit

Permalink
shasum: long form arguments, typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
alpreu authored and alpreu committed Oct 5, 2017
1 parent 377c0e1 commit 9e1c51e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions pages/linux/shasum.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

- Calculate the SHA256 checksum for a file:

`shasum -a 256 {{filename}}`
`shasum --algorithm 256 {{filename}}`

- Calculate the SHA512 checksum for multiple files:

`shasum -a 512 {{filename1}} {{filename2}}`
`shasum --algorithm 512 {{filename1}} {{filename2}}`

- Check a file with a list of sums against the directorys files:
- Check a file with a list of sums against the directory's files:

`shasum -c {{list_file}}`
`shasum --check {{list_file}}`

- Calculate the SHA1 checksum from stdin:

Expand Down
8 changes: 4 additions & 4 deletions pages/osx/shasum.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

- Calculate the SHA256 checksum for a file:

`shasum -a 256 {{filename}}`
`shasum --algorithm 256 {{filename}}`

- Calculate the SHA512 checksum for multiple files:

`shasum -a 512 {{filename1}} {{filename2}}`
`shasum --algorithm 512 {{filename1}} {{filename2}}`

- Check a file with a list of sums against the directorys files:
- Check a file with a list of sums against the directory's files:

`shasum -c {{list_file}}`
`shasum --check {{list_file}}`

- Calculate the SHA1 checksum from stdin:

Expand Down

0 comments on commit 9e1c51e

Please sign in to comment.