๐ Karlo Luiten
Home
About me
About me
LinkedIn
Guide to Karlo
SELinux cheat sheet
CISSP Reference
Contact
Bash clear tmp files (for script) on exit (trap)
May 7, 2023
โ
by
karlo
in
CLI and tools
TMP="$(mktemp -d)" trap 'rm -rf -- "$TMP"' EXIT
โ
Previous:
Apache2 (apache) forward https headers
Next:
SSH in for loop (consuming stdin / using file descriptor 3)
โ