Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Little Errors That Can Cause Big Disasters (efytimes.com)
1 point by vikas0380 on Sept 4, 2013 | hide | past | favorite | 1 comment


> 1. Writing rm / somedir instead of rm /somedir ... The minor mistake of adding a space in the rm command can actually delete the entire content of the root (/) directory.

Only if your're logged in as root. The author omits what should be obvious advice -- avoid root shell sessions whenever possible. Always operate at the lowest level of authority consistent with the desired objective.




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

Search: