Add blog post link

This commit is contained in:
vedri 2021-08-08 17:49:10 +02:00
parent 073a5105a8
commit 7a18674aa6
1 changed files with 10 additions and 1 deletions

View File

@ -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.