Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In linux, when you have a bash script, what is the command to add at top of script (right after #!/bin/bash) to ensure script exits on any error (so errors don't snowball)?
Answer
set -e

Question
In linux, when you have a bash script, what is the command to add at top of script (right after #!/bin/bash) to ensure script exits on any error (so errors don't snowball)?
Answer
?

Question
In linux, when you have a bash script, what is the command to add at top of script (right after #!/bin/bash) to ensure script exits on any error (so errors don't snowball)?
Answer
set -e

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.