Shell script tutorial - set
This script shows the importance of set command.
set -x #debug mode
set - e #exit the script when there is an error
set -o pipefail #(if there is pipe used in script, set -e won't fail, hence we should also use set -o).
Output
No comments:
Post a Comment