• HiddenLayer555@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      /*

      Or the (probably, IDK) more common way to do it accidentally, cd into /, think you’re somewhere else or type into the wrong shell, and then rm -rf *

      • dragnucs@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        22 hours ago

        A safe approach is to go up one dir ectody and run rm -rf dirname. With that habit you have high confid3nce of deleting folder you need.