Y
Hacker News
new
|
ask
|
show
|
jobs
by
eznzt
1945 days ago
For everybody reading, a directory called "-rf" is deleted by writing "rm -- -rf"; -- indicates the end of all user-provided options.
1 comments
duckerude
1944 days ago
If you're working with files, another (perhaps more reliable) way is `rm ./-rf`.
link