# Bash For Loop For loop on folder of ISOs to get sha256sum hashes of each one. I used this to get the hashes of ISOs stored on my Proxmox server. I needed them for a packer script that was part of [The Homelab Almanac](https://taggartinstitute.org/p/the-homelab-almanac) ```bash for filename in $(ls /var/lib/vz/template/iso/); do sha256sum /var/lib/vz/template/iso/$filename >> isosha.txt; done ```