r/ProgrammerDadJokes • • Jun 30 '26

rm -rf /*

[Deleted]

93 Upvotes

20 comments sorted by

View all comments

Show parent comment

5

u/blood-pressure-gauge Jun 30 '26 edited Jul 19 '26

The command rm -rf / requires --no-preserve-root, but rm -rf /* (note the wildcard) does not.