Translate

Archives

Image of Beginning Google Maps API 3
Image of Linux Kernel Development (3rd Edition)
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

rm -rf /

Solaris has prevented you from shooting yourself in the foot by doing an rm -rf / for a number of years. However, I only noticed recently that the GNU rm utility in Linux now also prevents you from accidentally deleting your root filesystem and more.

# rm -rf /
rm: is is dangerous to operate recursively on '/'
rm: use --no-preserve-root to override this failsafe
#

Comments are closed.