
When we delete a file in Linux, it is removed from a list and not necessarily from disk.

Don't be scared if you don't have a lot of experience with the command line, it's very easy to use and you'll be able to recover any deleted files on Ubuntu/Debian and other Linux distributions.

– But how do you tell me not to worry? Are you crazy?! I just deleted a script that was working for hours!!!Ĭalm down little grasshopper, in this article we'll learn how to recover deleted files on Linux using TestDisk and Photorec tools. Have you ever had that horrible feeling? A hopeless feeling that comes when you realize you've accidentally deleted an important file and it's not in the trash? Here begins the process of grief, denial, anger…īut how about not going through all the stages of grief? Breathe, don't worry and remember you're not alone! Sooner or later everyone ends up doing it in a moment of distraction.
