Add blog post link
This commit is contained in:
parent
073a5105a8
commit
7a18674aa6
|
@ -1,5 +1,7 @@
|
|||
# Compare SHA Sums
|
||||
|
||||
Also posted August 8th, 2021 on [Dreamwidth](https://campanilla.dreamwidth.org/4480.html).
|
||||
|
||||
## Idea
|
||||
|
||||
I wanted to practice working with files in C programs and at the same time check if the SHA sums for a Manjaro ISO file were the same.
|
||||
|
@ -28,7 +30,14 @@ Example of `sha-test.txt`:
|
|||
Append to the file a SHA sum you generated yourself.
|
||||
|
||||
``` sh
|
||||
sha1sum ISO >> sha-test.txt
|
||||
sha1sum ISO-name >> sha-test.txt
|
||||
```
|
||||
|
||||
Resulting `sha-test.txt`:
|
||||
|
||||
``` txt
|
||||
6ff0ebecb9813542e1fa81bbe897bb59039bb00d
|
||||
6ff0ebecb9813542e1fa81bbe897bb59039bb00d ISO-name
|
||||
```
|
||||
|
||||
Run `compare` and enter the name of the file with SHA sums when prompted.
|
||||
|
|
Loading…
Reference in New Issue