3 ms·
> But you'd be careful writing "rm" anywhere in Linux anyway, no? Also, why would you want to pipe something into "rm"? Not exactly a pipe into `rm`, but `foo
by woodruffw 8y ago
> But you'd be careful writing "rm" anywhere in Linux anyway, no? Also, why would you want to pipe something into "rm"?
Not exactly a pipe into `rm`, but `foo | xargs rm` is a common enough pattern.
- saagarjha 8y agoIt’s also dangerous if your filenames have spaces in them.