What Does “set -e” In Bash?

What Does "set -e" In Bash?

Linux bash provides a very good programming environment where scripts and functions can be created and executed. If there is an error related to a script file or function bash ignores these errors by default. But if we rely on the script or function execution and get detailed information about the result the set -e … Read more

Bash Exit Command and Exit Status

Bash Exit Command and Exit Status

Bash and bash scripts executed and terminated after execution. After the bash script execution is complete some information about the script is returned. This information is called exit status or exit code. The exit status or exit code can be also returned by using the exit command by using explicitly. Exit Status Every shell command … Read more