• stebo@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    10
    ·
    17 hours ago

    isn’t the command meant to be used on a certain path? like if you just graduated high school, you can just run “rm -rf ~/documents/homework/” ?

    • Zorsith
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      13 hours ago

      Correct me if im wrong, i assume switch “-rf” is short for “Root File”, for the starting point of recursion

      • Jrockwar@feddit.uk
        link
        fedilink
        arrow-up
        13
        ·
        13 hours ago

        No, -r and -f are two different switches. -r is recursive, used so that it also removes folders within the directory. -f is force (so overriding all confirmations, etc).