Skip to content
  • 7 points on A joke... in !linux@lemmy.ml ·

    rm -rf /*
    

    This deletes everything in root; a great way to break your OS and lose all data too.

    OP meant to run

    rm -rf ./*
    

    Note the period, which represents the current directory. So this deletes everything in the current directory instead of the entire filesystem