How to Recover Deleted Files in Linux
We all sometimes delete important files accidently. And sometimes we delete a few files thinking that they aren’t important, but later we might realize that we need them. It is best to keep a backup of files so that they can be easily recovered when they are required later. But even if you didn’t keep a backup, it is still possible to regain the deleted files in your Linux system. Let’s see how:
1. Find the partition in which the deleted file was stored. To do this, you can use the pwd command (print working directory) at the shell console.