• dragnucs@lemmy.ml
    link
    fedilink
    arrow-up
    13
    ·
    3 months ago

    That rmrf joke is obsolete, please update to using the --no-preserve-root flag.

    • HiddenLayer555@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 months 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
        4
        ·
        3 months 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.