Re:Bug 1202858 – Restarting squid results in deleting all fi...
by JoshTriplett on Tuesday March 24, 2015 @03:07AM
(#9255229)
That won't actually help with rm -rf /* , only with rm -rf * in / or $HOME.
[ Parent
| on HN ]
Re:Bug 1202858 – Restarting squid results in deleting all fi...
by hk__2 on Tuesday March 24, 2015 @04:20AM
(#9255394)
Would it work with `touch "/ -@"` (not the space)?
Re:Bug 1202858 – Restarting squid results in deleting all fi...
by a3_nm on Tuesday March 24, 2015 @05:51AM
(#9255629)
No, it doesn't work. "./*" expands to "./ -@" as a single field, which rm has no problems with. (Note that, however, this is still the globbing of the shell, as far as I understand.)