dev/bash/trap/trap.sh

8 lines
83 B
Bash
Executable File

#!/bin/sh
trap 'echo bye ; exit 0' INT
while [[ "" == "" ]]; do
echo aa
done