#!/bin/bash for file in /opt/autoexec/firstrun/* do exec "$file" >> /opt/log/autoexec.firstrun.log done