TLDR · QUICK LINKS

RELIABLE

redsymbol.net5 min read

Summary from the TLDR newsletter

Commands or functions trapped in EXIT can ensure that bash scripts always perform necessary cleanup operations even when something unexpected goes wrong.