DEV Community

Discussion on: Playing with fire: a devastating command line command (rm)

Collapse
 
curtisfenner profile image
Curtis Fenner

At the end of a long day, after writing a script to go through some log files, I was finally done and needed to rearrange a bit of mess of files I had made before heading home. That's when I typo'd rm instead of mv, one of those things your fingers type with you realizing it. I was tired, and never felt more embarrassed at work, because one of my coworkers was watching as I did this.

At least writing the script was easier the second time.

Collapse
 
realtoughcandy profile image
RealToughCandy.io

Eeeeek! I'm glad you lived to share the story though! 😁