You should also analyse commands that were run without &#x27;sudo&#x27;. For me, using &#x27;apt-get install&#x27; without sudo has been the most frequent mistake I have made. Luckily, &#x27;sudo !!&#x27; saves me every time.