Remove command removed my important documents on El Capitan I have just made a stupid mistake that cost me a lot. I tried to uninstall a software on my Mac, it is this one here: Uninstallation Ureka and I followed the instructions in the link. On the terminal, I typed exactly as in the documentation: 

rm -rf $HOME/.ureka 


when I suddenly realised after a couple of seconds that this deletes all my important files! I killed the process before it ended but I think it deleted my home folder. All my school work, important files were there.
Is there a way I can get them back ? What happened? Could you help me somehow?
Except that the command from the Ureka Web site doesn't do that, of course.  So what did you actually type?  Perhaps something more like

rm -rf $HOME / .ureka


Note the extra spaces.

In any case, if files were actually removed, learn from the experience, restore your backup, and move on.