While there are theoretical ways to accomplish that task, in the *nix world they are even more difficult than the Windows world. If you are the only one on the machine when you make the mistake AND you promptly turn the machine off once you have realized your mistake, there are tools you can get that should work on *nix drives ...