In any case, it's an old prank, and the chuckleheads will always come back with it, so my note is now permanent. Plus, I'm generally in favor of encouraging people to understand the commands they're given.
Ooops, i took mine off as i thought it was over. I have now put it back on and will leave it there.
Ok, I am seriously not trying to play devils advocate here, but I think that making the rm command this taboo thing in bold saying never sudo rm -rf anything is counterproductive. Rather, why don't you promote man pages. Like.. for ANY command you see on ANY internet site, check the man pages BEFORE you execute it.
rm is only dangerous if you don't know what you are doing. Don't scare absolute beginners with rm -rf. Teach them how to use rm safely!
The moderators are talking about what to do.
When possible, we do an IP ban, but if it's a dynamic IP and by proxy, it's a bit harder to do it that way.
Also, we figure there are ways to give users other malicious commands if we put a language filter on sudo rm -rf /.
Right now, user education appears to be the best way to go.
Thank you all for participating.
I fell victim to it... and was told it was a compiz update.
A: I can't delete this item from my trash can
B: Try pasting this command in the terminal: sudo rm -rf ~/.Trash/*
A: But your signature says never to sudo rm -rf anything...?
B: That's because we have had some malicious trolls asking new users to delete their entire hard drives. sudo rm -rf means to remove with administrative privileges recursively and with force. In this case, we are doing so only for your trash (not the entire installation)
C: What user B is saying is true. You may also want to read the manual for rm to get a better idea of how it's used: man rm
A: Okay. Now I get it.
Anyway, I can't recall a situation in which a beginner's problem required "rm" as a solution. If you have a config file that needs to be removed, it's usually better to say:
Just one example.Code:
sudo mv config.conf config.conf.bak