5 ms·
For everybody reading, a directory called "-rf" is deleted by writing "rm -- -rf"; -- indicates the end of all user-provided options.
by eznzt 6y ago
For everybody reading, a directory called "-rf" is deleted by writing "rm -- -rf"; -- indicates the end of all user-provided options.
- duckerude 6y agoIf you're working with files, another (perhaps more reliable) way is `rm ./-rf`.