Hacker News new | ask | show | jobs
by lexfiend 2130 days ago
The simplest mitigation probably bears mentioning: Prepend all wildcarded relative paths with `./`, because `rm ./*` does what you'd expect.
2 comments

Or get rid of that pesky user leon
Why ./ (a good habit) and -- were not mentioned seems odd.