Month: August 2017
-
UNIX tip of the day – trap EXIT
I was reading a shell script today and came across the trap command, which I was not aware of. Some googling led me to this article: How “Exit Traps” Can Make Your Bash Scripts Way MoreRobust And Reliable , which has a really nice explanation. Basically, trap acts sort of like a finally block in…
Join 164 other subscribers
Archives
Category
- ►Computers (128)
- ►cooking (43)
- ►environmentalism (4)
- ►general (14)
- ►linguistics (15)
- ►mindfulness (4)
- ►photography (15)