Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
# Save the script as wait.sh cat > wait.sh << 'EOF' #!/bin/bash trap 'echo " Stopped by user"; exit 130' INT echo "Press Ctrl+C to stop" # There is no Ctrl+C here, so the script sends INT to itself kill -INT $$ sleep 60 EOF # Run it bash wait.sh echo "Exit code: $?"
Press Ctrl+C to stop
Stopped by user
Exit code: 130