<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 19 Mar 2020, 21:28 Keith Edmunds via Swlug, <<a href="mailto:swlug@mailman.lug.org.uk">swlug@mailman.lug.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 19 Mar 2020 11:27:51 +0000, <a href="mailto:swlug@mailman.lug.org.uk" target="_blank" rel="noreferrer">swlug@mailman.lug.org.uk</a> said:<br>
<br>
> sudo rm followed / etc/somefolder (with an accidental space<br>
> after the /) then that would erase the whole disc partition.<br>
<br>
How many have actually tried that?<br>
<br>
I did. Years ago I installed Linux (probably Debian) on an old pc, logged<br>
in as root and did the rm minus-rf slash return trick.<br>
<br>
Anyone want to speculate about what happened?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You get an error message and it refuses to delete all your files.</div><div dir="auto"><br></div><div dir="auto">However, rm minus-rf ~ does still remove your home directory, if I remember rightly.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Gneel</div><div dir="auto">--</div><div dir="auto">He/him, cis-het, lowest difficulty setting</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
Linux Tips: <a href="https://www.tiger-computing.co.uk/category/techtips/" rel="noreferrer noreferrer" target="_blank">https://www.tiger-computing.co.uk/category/techtips/</a><br>
<br>
-- <br>
Swlug mailing list<br>
<a href="mailto:Swlug@mailman.lug.org.uk" target="_blank" rel="noreferrer">Swlug@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/swlug" rel="noreferrer noreferrer" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/swlug</a></blockquote></div></div></div>