Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kazinator
on Aug 20, 2014
|
parent
|
context
|
favorite
| on:
fork() can fail
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 ...
Macha
on Aug 20, 2014
[–]
Or Bumblebee's pretty infamous by now:
rm -rf /usr /lib/bumblebee
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: