3
smittey
8y

2 weeks into my industrial placement year during University I was tasked with writing a rhel .rpm file to install our software.

Within this script contained rm -rf ... you can see where this is going, right?

Well this command was meant to delete a local usr/bin folder during the cleanup, and it did! But I must have accidentally changed something, and instead of staying local, it bounced to /. Goodbye usr/bin. Goodbye 2 weeks worth of progress. Hello angry infrastructure team...

Comments
  • 0
    i've seen scripts containing "rm -rf .*"... :)
Add Comment