#! /usr/bin/bash trap "echo vorbei" SIGINT touch /tmp/testfile sleep 10 echo "Ende der Arbeit"