Skip to content

Instantly share code, notes, and snippets.

@sonic2kk
Created July 7, 2017 13:03
Show Gist options
  • Save sonic2kk/9f9c2d52d93a3f86a419691ec5d26c6c to your computer and use it in GitHub Desktop.
Save sonic2kk/9f9c2d52d93a3f86a419691ec5d26c6c to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Sum: "
read sum
echo "Path: "
read path
sha1sum -c <<< "$sum $path"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment