Skip to content

Topic

Bash scripting

Writing and maintaining programs in Bash, the GNU shell used for system administration, build steps, deployment glue and scheduled jobs.

Current clusters

build1 publisher

Adding -E made a silent ERR trap name the failing mkdir on line 5

Under set -euo pipefail, a failing mkdir inside a helper function killed a nine-line script while the ERR trap printed nothing. Adding one letter, -E, made the same trap report the command and the line it died on.

Publishers:dev.to

Reality

Evidence68
Adoption
Insufficient
Hype gap+8
Incentives45
Confidence66