Help please deleted directory
Hi everyone
I stupidly rm /* on my bash and deleted root directory now i cant view do anything! like if i want to open up a terminal i get no such file or directory ! i really need help to restore and get my files back I use linux backtrack r5 for my college assignments |
Well you will not do that again
reinstall the operating system if you stopped using that computer and are using a DIFFERENT machine using different hard drives you might be able to partly recover the photos, videos, office files and such but only a slight chance have a look at using "photorec" |
Consider this a learning experience. Avoid using the root account unless truly necessary, and when you do, go slowly and double check each command before entering it.
You need to reinstall the operating system, as John said. But if you want to try to recover other data from your hard drive, be sure to re-install on a different hard drive, and do not write anything to the old disk until you've exhausted all recovery attempts. To get an idea of what you'll be up against with a utility like photorec, see my post in this thread: https://www.linuxquestions.org/quest...er-4175478081/ Unless the data you've lost is of critical importance, it may not be worth the effort of attempting to recover it. |
I would also stress this point
Quote:
it is VERY easy to make a normal everyday typo like this for example Code:
rm -rf / usr/opt/qt3/???? while it is theoretically possible to recover data in practice , it is not so easy the things you see on TV like in CSI and NCIS and such are VERY FAR from the truth . |
All times are GMT -5. The time now is 12:15 AM. |