Should only be used with extreme caution and if you know what you are doing.
Ok. What is the actual use case for “rm -rf /“ even if you know what you are doing and using extreme caution? If you want to wipe a disk, there are better ways to do it, and you certainly wouldn’t want that disk mounted on / when you do it, right?
None. Remember that the response is AI generated. It’s probabilistically created from people’s writings. There are strong relations between that command and other ‘dangerous commands.’ Writings about 'dangerous commands ’ oft contain something about how they should ‘only be run by someone who knows what they are doing’ so the response does too.
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).
I don’t get to use the bone all that often, but when I do, it is quite effective; much like the amazing efficacy of running rm on the root of the entire filesystem recursively with the force modifier.
Ok. What is the actual use case for “rm -rf /“ even if you know what you are doing and using extreme caution? If you want to wipe a disk, there are better ways to do it, and you certainly wouldn’t want that disk mounted on / when you do it, right?
None. Remember that the response is AI generated. It’s probabilistically created from people’s writings. There are strong relations between that command and other ‘dangerous commands.’ Writings about 'dangerous commands ’ oft contain something about how they should ‘only be run by someone who knows what they are doing’ so the response does too.
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/” ?
Correct me if im wrong, i assume switch “-rf” is short for “Root File”, for the starting point of recursion
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).
TIL
TWRP has an option “use rm instead of formatting”.
There probably isn’t one and there really doesn’t have to be one. The ability to do it is a side effect of the versatility of the command.
You might be right. But I’d like to hear from other bone users.
I don’t get to use the bone all that often, but when I do, it is quite effective; much like the amazing efficacy of running rm on the root of the entire filesystem recursively with the force modifier.
There isn’t. It’s just the fact that it will. The command can/is used often to remove other directories
deleted by creator
My point was, the ai wasn’t talking about “rm” in general.