What does the set -e command do in SHELL scripting?
Like the following command:
set -e
Can we do any other things with set -e operation?
The 'set' command is used set and examine shell options, as well as set positional parameters.
The -e flag does the following:
-e Exit immediately if a command exits with a non-zero status.
Hope this helps :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With