3 ms·
You can't actually execute `rm -rf /` on most modern systems anyway. There's a flag to force it, but you'd have to be pretty determined to nuke your system.
by nwh 14y ago
You can't actually execute `rm -rf /` on most modern systems anyway. There's a flag to force it, but you'd have to be pretty determined to nuke your system.
- oasisbob 14y agoSure you can. (Just gave it a shot on a Ubuntu VM the other day while exploring shared library linking.) Do some systems really have a flag more forceful than -f ?
- nwh 14y agoDebian: # rm -rf / rm: it is dangerous to operate recursively on '/' rm: use --no-preserve-root to override this fail safe
- oasisbob 14y agoHuh, sure enough, I stand corrected. Must have entirely forgot that I added that option while rushing to play around while things were being removed. Thanks!
- throwaway2048 14y agono but you can execute rm -rf /*
- orvtech 14y agoYes you can, btw here is a video of it being executed just for kicks. http://www.youtube.com/watch?v=cTXWQriVgH8 http://www.youtube.com/watch?v=cTXWQriVgH8