Beispiele zum Blogpost.

This commit is contained in:
2026-01-17 09:36:55 +01:00
parent bc827535b9
commit 684e62e0d8
5 changed files with 74 additions and 0 deletions

15
teil25/sighup.sh Executable file
View File

@@ -0,0 +1,15 @@
#! /usr/bin/bash
on_hup() {
echo "hup handler"
}
trap on_info SIGHUP
my_pid=$!
echo "${my_pid}"
while true; do
sleep 1
done