Beispiele zum Blogpost.
This commit is contained in:
11
teil25/trap2
Executable file
11
teil25/trap2
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /usr/bin/bash
|
||||
|
||||
|
||||
trap "echo vorbei" SIGINT
|
||||
|
||||
touch /tmp/testfile
|
||||
|
||||
sleep 10
|
||||
echo "Ende der Arbeit"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user