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 cleanup.sh cat > cleanup.sh << 'EOF' #!/bin/bash tmpfile=$(mktemp) cleanup() { rm -f "$tmpfile" echo "Removed the temporary file" } trap cleanup EXIT echo "data" > "$tmpfile" echo "Using the temporary file" EOF # Run it bash cleanup.sh
Using the temporary file
Removed the temporary file