Score:-2

ran rm -r /* now almost everything is deleted can i recover it?

dz flag

root@ / () $ history -bash: history: /home/lavelle/.bash_history: cannot create: No such file or directory -bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or directory -bash: /usr/bin/colrm: No such file or directory

is there any way to recover it?

WinEunuuchs2Unix avatar
in flag
First thing to do is immediately hold down power button for 10 seconds to power off. Then get live USB, boot with it and install recovery programs. See the duplicate question.
guiverc avatar
cn flag
Recovery is best by putting whatever backup strategy you put into place, into action. Why are you asking us? We don't know what backup strategy and thus what recovery plan applies. We don't even know what OS & release, nor what product you're using. Data recovery tools may make up for failings in your implemented backup strategy.
Score:2
cn flag

You have destroyed your system.

Some files may be recoverable, but restoring your entire system is no longer possible.

Stop using the hard drive that you want to recover files from. Look up how to use the Testdisk and Photorec applications for self-service data recovery.

If your files are valuable to you, consider a paid data recovery service rather than mucking about with self-service.

Once you have an available disk again, you must install a new operating system on your hardware.

dhruv avatar
dz flag
it was a vm on digital ocean
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.