To be clear, the problem described in the video is not something that can happen. &quot;rm -rf $1&#x2F;$2&quot; where $1 and $2 aren&#x27;t defined (therefore making it &quot;rm -rf &#x2F;&quot;) will not run. If you really want to destroy your root directory you have to specify the --no-preserve-root flag. No more accidents from scripts that assume things poorly, but it will still do exactly what the user asks.
﻿﻿