Here's a quick recipe for disaster. Say that you want to blow-up your Linux system, along with all those important documents, emails, etc. You're kind of in a self-destructive mood, or just not thinking, kind of like I was yesterday afternoon right when it was time to go home.
Warning: do not really run the following command (but this is what I ran nonetheless):
$ sudo apt-get -y remove perl
I realized my mistake right away, but it was too late. Unfortunately, most of the important stuff depends on Perl so by removing it I crippled my system and made it completely useless. Oops.
So why would someone be so stupid and do this in the first place? I mean really. Well, I had inadvertently messed up my Perl development settings and accidentally deleted an important Perl library sub-directory.
Wrong, should have used
--reinstall instead, you dummy. Using the
-y was pretty stupid also.