Bug 1202858 – Restarting squid results in deleting all files in hard-drive
My good old trick to mitigate that is:<p><pre><code>    touch /-@
</code></pre>
I also always do it in my home directory:<p><pre><code>    touch ~/-@
</code></pre>
That's the first thing I do on a new host.<p>When accidentally running rm -f *, the command expands to -@ first, which is not a valid option and makes the command fail before doing any harm<p><pre><code>    rm: illegal option -- @
    usage: rm [-f | -i] [-dPRrvW] file ...</code></pre>