mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 19:54:04 +00:00
Update cheatsheets
This commit is contained in:
18
sum
Normal file
18
sum
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sum
|
||||
|
||||
> Compute checksums and the number of blocks for a file.
|
||||
> A predecessor to the more modern `cksum`.
|
||||
> More information: <https://www.gnu.org/software/coreutils/sum>.
|
||||
|
||||
- Compute a checksum with BSD-compatible algorithm and 1024-byte blocks:
|
||||
|
||||
`sum {{path/to/file}}`
|
||||
|
||||
- Compute a checksum with System V-compatible algorithm and 512-byte blocks:
|
||||
|
||||
`sum --sysv {{path/to/file}}`
|
||||
Reference in New Issue
Block a user