• @nogrub
    link
    4
    edit-2
    1 year ago

    never execute “sudo rm -r / --no-perserve-root” because you whole sytem will be gone edit i forgot the directory

    • @[email protected]
      link
      fedilink
      4
      edit-2
      1 year ago

      the -delete option in find goes AFTER the expression.

      find -delete [whatever] will delete EVERYTHING in the current directory and below, like rm -rf *

      • @[email protected]
        link
        fedilink
        English
        31 year ago

        Huh. I wonder if GNU find should be modified, so that -delete only works when explicitly given a directory.

    • Kühe sind toll
      link
      fedilink
      1
      edit-2
      1 year ago

      This shouldnt do anything since you didn’t gave it a directory to start with.

      • @nogrub
        link
        11 year ago

        oh yeah i forgot a /