Sudo rm -rf .

  • jaybone@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 day ago

    Right, so then if asterisk wildcards don’t match on . and … then, in most common distros where there is no dot in any of the top level dirs in /, “rm -rf *.*” in the top level / dir is basically harmless and likely a noop.

    So OP is wrong.

    • Lena@gregtech.eu
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 hours ago

      Technically, it says he’s in the ~ directory, which would usually be /home/god, but even in there there aren’t usually any directories/files with a dot.