What’s the most disturbing, scary linux or unix command you’ve seen or executed ever?
What’s the most disturbing, scary linux or unix command you’ve seen or executed ever?
sudo date <date string>
The correct format including year is MMDDhhmmYYYY, which isn't particularly easy to guess. (I shouldn't have guessed). I did it on a Solaris production server many years ago. It kept rolling for a few minutes while one process after another died. Was interesting to set the correct datetime again.
Wait, why is *that* disk lighting up?
Many moons ago I wrote a perl script that fetched data from multiple locations and processed locally and all files were created in the /tmp/ and there was a bug in tmpfile name creation that caused race conditions. Hours of script run would go to waste until I figured it out all. Not exactly a single command but fixing that bug was as good as coitus 🤣
This is a small personal instance of Bonfire in the Fediverse.