RedditEnjoyer@lemmy.world to Linux@lemmy.ml · 9 months agoA Linux user's nightmare: the machine was wiped clean with one clickwww.mikrobitti.fiexternal-linkmessage-square7fedilinkarrow-up10arrow-down11file-text
arrow-up1-1arrow-down1external-linkA Linux user's nightmare: the machine was wiped clean with one clickwww.mikrobitti.fiRedditEnjoyer@lemmy.world to Linux@lemmy.ml · 9 months agomessage-square7fedilinkfile-text
minus-squareUnityDevice@startrek.websitelinkfedilinkarrow-up1·9 months agoset -euo pipefail at the top of every script makes stuff a lot safer. Explanation here.
set -euo pipefail
at the top of every script makes stuff a lot safer. Explanation here.