bash: Trap error and exit

I’ve been working with a bash script which monitors different processes. If it detects any error then trigger alert and exit. While working there, I noticed there are different ways to do this e.g. set and trap
Continue reading

Advertisements