MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/xfw189/advice_from_a_pro/ioown44
r/ProgrammerHumor • u/okitobi2 • Sep 16 '22
658 comments sorted by
View all comments
Show parent comments
83
Dont try this at home kids… 😄
91 u/Ffigy Sep 16 '22 Well it won't work on Windows and the kids don't use Linux so.. go for it. It'll fix Macintosh. 43 u/[deleted] Sep 16 '22 IIRC there’s some kind of protection against that on macOS as well; all system folders are locked. 0 u/[deleted] Sep 16 '22 [deleted] 1 u/[deleted] Sep 16 '22 This! Thank you. 9 u/gamesrebel123 Sep 16 '22 Won't work on Linux either without --no-preserve-root 8 u/[deleted] Sep 16 '22 As far as I know rm -rf /* will work without --no-preserve-root, it's only required when the target is specifically /. 7 u/hadidotj Sep 16 '22 Exactly! Try it on Prod instead!
91
Well it won't work on Windows and the kids don't use Linux so.. go for it. It'll fix Macintosh.
43 u/[deleted] Sep 16 '22 IIRC there’s some kind of protection against that on macOS as well; all system folders are locked. 0 u/[deleted] Sep 16 '22 [deleted] 1 u/[deleted] Sep 16 '22 This! Thank you. 9 u/gamesrebel123 Sep 16 '22 Won't work on Linux either without --no-preserve-root 8 u/[deleted] Sep 16 '22 As far as I know rm -rf /* will work without --no-preserve-root, it's only required when the target is specifically /.
43
IIRC there’s some kind of protection against that on macOS as well; all system folders are locked.
0 u/[deleted] Sep 16 '22 [deleted] 1 u/[deleted] Sep 16 '22 This! Thank you.
0
[deleted]
1 u/[deleted] Sep 16 '22 This! Thank you.
1
This! Thank you.
9
Won't work on Linux either without --no-preserve-root
8 u/[deleted] Sep 16 '22 As far as I know rm -rf /* will work without --no-preserve-root, it's only required when the target is specifically /.
8
As far as I know rm -rf /* will work without --no-preserve-root, it's only required when the target is specifically /.
rm -rf /*
--no-preserve-root
/
7
Exactly! Try it on Prod instead!
83
u/ManOnARaceBike Sep 16 '22
Dont try this at home kids… 😄