Created
August 16, 2017 00:59
-
-
Save shout-poor/3a3e523060221958c6ec6f9576cebb49 to your computer and use it in GitHub Desktop.
Shellscript code snipets
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
# Make a temporary dir, and remove when exit. | |
TEMPDIR=$(mktemp -d) | |
trap "rm -rf ${TEMPDIR}" EXIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment