File details
Filename
sh_sample_file_50KB.shSize50.0 KB (51210 bytes)
MIME type
text/x-shExtension
.shSHA256
9abf9b457a62d2b366cd126116cdc4dbb851c15e4e90dd39d58cba04d2f6ada3Download commands
Use in scripts and tests
curl -L -o sh_sample_file_50KB.sh \
https://samplefile.com/samples/download/code/sh/sh_sample_file_50KB.sh/
wget -O sh_sample_file_50KB.sh \
https://samplefile.com/samples/download/code/sh/sh_sample_file_50KB.sh/
import requests
url = "https://samplefile.com/samples/download/code/sh/sh_sample_file_50KB.sh/"
resp = requests.get(url)
with open("sh_sample_file_50KB.sh", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/sh/sh_sample_file_50KB.sh/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("sh_sample_file_50KB.sh", buf);
# Download and verify SHA256
curl -L -o sh_sample_file_50KB.sh https://samplefile.com/samples/download/code/sh/sh_sample_file_50KB.sh/
echo "9abf9b457a62d2b366cd126116cdc4dbb851c15e4e90dd39d58cba04d2f6ada3 sh_sample_file_50KB.sh" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/sh/sh_sample_file_50KB.sh/").content
assert hashlib.sha256(data).hexdigest() == "9abf9b457a62d2b366cd126116cdc4dbb851c15e4e90dd39d58cba04d2f6ada3"
More SH files
Other SH Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
sh_sample_file_1MB.sh |
1.0 MB | 4ae8e9510c22a8a6… |
Download |
sh_sample_file_200KB.sh |
200.0 KB | e435917c94c8012b… |
Download |
sh_sample_file_500KB.sh |
500.0 KB | da4d5706a1d364fd… |
Download |
Learn more