EGertis462759 (Community Member) asked a question.

How to retrieve the sha256sum of the https://download.sourceclear.com/ci.sh?

I'd like to verify the file integrity of the ci.sh file that is downloaded from the command

 

```

curl -sSL https://download.sourceclear.com/ci.sh

```

It would be as simple as

```

curl -sSL https://download.sourceclear.com/ci.sh > ci.sh

myhash=$(sha256sum ci.sh | cut -d' ' -f1)

if [ $myhash = "hash_needed_to_verify" ] ; then echo "verified" ; fi

```

I'd appreciate any help with this.


Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.