Last active
July 22, 2020 19:42
-
-
Save wingsuitist/35606ae2fe0a626e1ccee9788c0daeaa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# print command in shell script and wait for confirmation before executing it | |
trap 'read -p "run: $BASH_COMMAND"' DEBUG | |
echo "do something interesting" | |
echo "do the next interesting thing" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment