Dangerous
rm -rf ~/*cross-platform · bash · Beginner
Removes everything in the user's home directory. The glob expands to every visible entry, so documents, projects, and local-only work all go at once, with no stage that asks for confirmation.
Signals to notice
- the glob expands to the entire home directory contents
- rm -rf never prompts before removing
Think you can spot these under time pressure?
Start Training