Comment on
They are literally not different commands, as “test” is an required argument which out the command won’t work.
No, the argument is not required, the command is valid. It’s intentional and a neat feature that rm -rf alone without a specified file does nothing.
rm -rf
See e.g.: unix.stackexchange.com/a/553741
It does nothing because you used the wrong syntax but also set the flag the suppresses the out put 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.
You should obviously improve your reading skills.
Sure. And you should start learning basic bash skills.
Successful_Try543@feddit.org 1 day ago
No, the argument is not required, the command is valid. It’s intentional and a neat feature that
rm -rfalone without a specified file does nothing.See e.g.: unix.stackexchange.com/a/553741
remon@ani.social 1 day ago
It does nothing because you used the wrong syntax but also set the flag the suppresses the out put 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.
Successful_Try543@feddit.org 1 day ago
You should obviously improve your reading skills.
remon@ani.social 1 day ago
Sure. And you should start learning basic bash skills.