• remon@ani.social
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      5 days ago

      What are you talking about? The does exactly what I said it does.

      It only does nothing for you because you used it incorrectly (in the wrong folder without the required argument).

      • Successful_Try543@feddit.org
        cake
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        5 days ago

        The question is:

        what happens when you give the command in the command line rm -rf ?

        rm -rf * or here rm -rf test are different commands.

        • remon@ani.social
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          edit-2
          5 days ago

          rm is the command, -rf are the flags and “test” is an required argument. So no, they are not different commands.

            • remon@ani.social
              link
              fedilink
              arrow-up
              3
              arrow-down
              2
              ·
              edit-2
              5 days ago

              It does nothing because you used the wrong syntax but also set the flag that suppresses the output of syntax errors …

              Imagine someone would asked “What does a toaster do?”

              I say “It toasts bread”.

              You come in with a picture of bread in a toaster and say “It does nothing”.

              I tell you “You have to press the button”.

              "You say “oh well, that wasn’t the question, a toaster with the button pressed is basically a different device!”

              Insert <Futurama not sure if trolling …> meme.

                  • bizarroland@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    7
                    ·
                    5 days ago

                    Alright, I’ve read both of you guys’ arguments. You’re both right, but you’re both talking about different things.

                    Successful try is responding with a literal direct computer-like response for OP’s question. They are adding no additional qualifiers to the specific exact question that was asked, which is to say that the answer to OP’s question is, it does nothing.

                    Reman, you were saying that anybody who was trying to use this command would obviously add a subject, would put the test or something else to it, would make an adjustment to the command in order to make it work and actually function.

                    And that is correct in practice, but that doesn’t answer the question that was being asked literally. It answers the question the way a senior programmer would answer the question of a junior programmer.

                    Successful try’s answer is the answer a computer would give.

                    So can you both please stop fucking arguing, hug it out, and move on?