Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I once did

    rm -rf $PREFIX/usr/lib
in a Bash script being run as root. PREFIX was misspelled, and set -u was not in effect, so the misspelled variable silently expanded to nothing ...


Or Bumblebee's pretty infamous by now:

    rm -rf /usr /lib/bumblebee




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: