#!/bin/sh FILES="superdaemon superdaemon.ini app-prime-modbus app-prime-gui" for FILE in ${FILES} do md5sum ${FILE} | awk '{print $1}' > ${FILE}.md5 done