13 ms·
If you are on a Mac, you must know that you should never put the `-i` option at the end: $ ls | wc -l 5 $ rm * -i rm: -i: No such file or direct
by eddieplan9 15y ago
If you are on a Mac, you must know that you should never put the `-i` option at the end:
$ ls | wc -l
5
$ rm * -i
rm: -i: No such file or directory
$ ls | wc -l
0
- X-Istence 15y agoYeah, it is a GNU extension to rm/ls/and others to have the options at the end of the list. Never did like that, but it does mean that people who log into my BSD boxes can never force delete or recursive delete ;-)