TechSpite
TechSpite
Contact
  • Home
  • About Us
  • How To
  • Windows
  • MAC OS
  • iOS

About TechSpite

  • About Us
  • Contact

Explore Topics

  • Conversational AI – Game Changer Talking Tech
  • Top Business Intelligence Tools For Data Analysis
  • How RPA Enhances Customer Service
  • Understanding Autonomous Vehicle Technology

Help & Support

  • Contact

Terms & Privacy

  • Privacy Policy
  • Terms & Conditions
  • Return and Refund Policy
TechSpite

© 2025 TechSpite. All rights reserved.

TOP
  1. Home
  2. /
  3. How To
  4. /
  5. How To Recover Deleted Files In Linux 2020 [Beginner’s Guide]
How To

How To Recover Deleted Files In Linux 2020 [Beginner’s Guide]

Azaz ShaikhAzaz Shaikh
•Jun 7, 2020•3 MIN READ
How To Recover Deleted Files In Linux 2020 [Beginner’s Guide]
How To Recover Deleted Files In Linux 2020 [Beginner’s Guide]

Sometimes when you come to know that you have accidentally deleted your important files and it is not available in the trash. Most of the people get upset due to deleted files in Linux. Once it happens that you deleted your files in Linux intentionally with shift + delete or even removed from the Trash. Therefore, you need to recover the files with the original content. When you completely delete the files even from the structure directory. But it will still remain somewhere on your hard disk.

Fortunately, nowadays technology is in progress. Therefore, recovering the deleted files in Linux is not that much difficult as you think. Every operating system gives an opportunity to the user in order to recover them with some simple steps. From this guide, you will completely learn How To Recover Deleted Files In Linux 2020 .

Keep in mind that you can’t recover old files which you have deleted one month before. But you can still recover the recently deleted files. Linux is one of the most popular and powerful operating systems all over the world. There are no more difficulties in recovering the deleted file is Linux. If you have deleted the files in Linux then it probably still exists somewhere on your system It depends on the size of files which you lost but it might be recovered.

For the purpose of this article, to recover the deleted files in Linux by the help of Testdisk. It is a very good recovery tool for the Linux operating system. You have to remember that it can only recover the recently deleted files with some easy steps. Therefore, you need to follow and come through the below steps and guidance so that you should not face any sort of issue while recovering the deleted files in Linux 2020.

Read related posts:

  • How to Create Bootable USB for Kali Linux on Windows
  • Reset Lost Password of Kali Linux 

How To Recover Deleted Files In Linux

Step 1. First of all, you need to download and install the Testdisk tool on your Linux system. Some of the Linux operating systems might have this tool in their official depository. However, you need to use the command below in order to install testdisk in UBunutu and Linux Mint.

sudo apt install testdisk

If you are using Arch Linux then you can install it from AUR. You can download it for other Linux distribution from the given link down below.

Download TestDisk

Step 2. After downloading TestDisk on your Linux system, you need to run TestDisk in the terminal with the help of the below command.

testdisk

Step 3. Once it opens, you will see something new in the terminal. Nothing to do just use down arrow button and select Create a new log file and press Enter.

Create a new log file

Step 4. In this step, if you are lucky somehow, you might see your drive in that tool. So, select the second option. Then you need to select sudo and enter the password once down press enter button.

Sudo

Step 5. Now, the Testdisk tool will display all your drives. Therefore, you need to select the drive which you want to recover the deleted file from your Linux system.

Step 6. You have select all the settings correct. Again you need to press Enter.

Step 7. On the next screen, you will have many options to go to. So, you need to select Advanced option and press Enter.

Recover Deleted Files In LinuxAdvanced

Step 8. From the bottom of the screen, make sure to select undelete.

Recover Deleted Files In LinuxUndelete

Step 9. The tool will scan for the deleted files and produce a list in red highlight. So, arrow down to it and read the choices at the bottom.

Step 10. Tesdisk is a multi-function tool, most of the option deals with the group of files. Therefore, you need hit C to have the resume back.

Recover Deleted Files In LinuxPress C button

Final Thoughts

TestDisk is a powerful data recovery tool for Linux operating system. Therefore, we have entirely focused on How To Recover Deleted Files In Linux 2020 . I hope you have gotten something from this guide. So, if you have faced any kind of problem while recovering deleted files in Linux then feel free to comment down below so that your problem should be solved as soon as possible. Comment your feedback and suggestion about this article

Tagged

#How to use TestDisk#Linux#Linux Recover Deleted Files#Lost files#Recover Deleted Files In Linux#Recover Lost Files#TestDisk

Share This Article

Recent Articles

Fresh content from our blog

Instagram Marketing: 10 Trends To Follow In 2023
Featured

Instagram Marketing: 10 Trends To Follow In 2023

May 23, 2023
11 Must-Know TikTok Tips for Going Viral!
Featured

11 Must-Know TikTok Tips for Going Viral!

May 17, 2023
17 Epic Facebook Tips And Tricks You Never Knew Existed!
Featured

17 Epic Facebook Tips And Tricks You Never Knew Existed!

May 14, 2023
12 Beginner-Friendly iPhone Photography Tips for Instagram
Featured

12 Beginner-Friendly iPhone Photography Tips for Instagram

May 3, 2023
12 Windows 11 Tips and Tricks To Make Your PC Awesome!
Featured

12 Windows 11 Tips and Tricks To Make Your PC Awesome!

May 1, 2023

Sometimes when you come to know that you have accidentally deleted your important files and it is not available in the trash. Most of the people get upset due to deleted files in Linux. Once it happens that you deleted your files in Linux intentionally with shift + delete or even removed from the Trash. Therefore, you need to recover the files with the original content. When you completely delete the files even from the structure directory. But it will still remain somewhere on your hard disk.

Fortunately, nowadays technology is in progress. Therefore, recovering the deleted files in Linux is not that much difficult as you think. Every operating system gives an opportunity to the user in order to recover them with some simple steps. From this guide, you will completely learn How To Recover Deleted Files In Linux 2020 .

Keep in mind that you can’t recover old files which you have deleted one month before. But you can still recover the recently deleted files. Linux is one of the most popular and powerful operating systems all over the world. There are no more difficulties in recovering the deleted file is Linux. If you have deleted the files in Linux then it probably still exists somewhere on your system It depends on the size of files which you lost but it might be recovered.

For the purpose of this article, to recover the deleted files in Linux by the help of Testdisk. It is a very good recovery tool for the Linux operating system. You have to remember that it can only recover the recently deleted files with some easy steps. Therefore, you need to follow and come through the below steps and guidance so that you should not face any sort of issue while recovering the deleted files in Linux 2020.

Read related posts:

  • How to Create Bootable USB for Kali Linux on Windows
  • Reset Lost Password of Kali Linux 

How To Recover Deleted Files In Linux

Step 1. First of all, you need to download and install the Testdisk tool on your Linux system. Some of the Linux operating systems might have this tool in their official depository. However, you need to use the command below in order to install testdisk in UBunutu and Linux Mint.

sudo apt install testdisk

If you are using Arch Linux then you can install it from AUR. You can download it for other Linux distribution from the given link down below.

Download TestDisk

Step 2. After downloading TestDisk on your Linux system, you need to run TestDisk in the terminal with the help of the below command.

testdisk

Step 3. Once it opens, you will see something new in the terminal. Nothing to do just use down arrow button and select Create a new log file and press Enter.

Create a new log file

Step 4. In this step, if you are lucky somehow, you might see your drive in that tool. So, select the second option. Then you need to select sudo and enter the password once down press enter button.

Sudo

Step 5. Now, the Testdisk tool will display all your drives. Therefore, you need to select the drive which you want to recover the deleted file from your Linux system.

Step 6. You have select all the settings correct. Again you need to press Enter.

Step 7. On the next screen, you will have many options to go to. So, you need to select Advanced option and press Enter.

Recover Deleted Files In LinuxAdvanced

Step 8. From the bottom of the screen, make sure to select undelete.

Recover Deleted Files In LinuxUndelete

Step 9. The tool will scan for the deleted files and produce a list in red highlight. So, arrow down to it and read the choices at the bottom.

Step 10. Tesdisk is a multi-function tool, most of the option deals with the group of files. Therefore, you need hit C to have the resume back.

Recover Deleted Files In LinuxPress C button

Final Thoughts

TestDisk is a powerful data recovery tool for Linux operating system. Therefore, we have entirely focused on How To Recover Deleted Files In Linux 2020 . I hope you have gotten something from this guide. So, if you have faced any kind of problem while recovering deleted files in Linux then feel free to comment down below so that your problem should be solved as soon as possible. Comment your feedback and suggestion about this article

Tagged

#How to use TestDisk#Linux#Linux Recover Deleted Files#Lost files#Recover Deleted Files In Linux#Recover Lost Files#TestDisk

Share This Article

Recent Articles

Fresh content from our blog

Instagram Marketing: 10 Trends To Follow In 2023
Featured

Instagram Marketing: 10 Trends To Follow In 2023

May 23, 2023
11 Must-Know TikTok Tips for Going Viral!
Featured

11 Must-Know TikTok Tips for Going Viral!

May 17, 2023
17 Epic Facebook Tips And Tricks You Never Knew Existed!
Featured

17 Epic Facebook Tips And Tricks You Never Knew Existed!

May 14, 2023
12 Beginner-Friendly iPhone Photography Tips for Instagram
Featured

12 Beginner-Friendly iPhone Photography Tips for Instagram

May 3, 2023
12 Windows 11 Tips and Tricks To Make Your PC Awesome!
Featured

12 Windows 11 Tips and Tricks To Make Your PC Awesome!

May 1, 2023

About the Author

Azaz Shaikh

About Azaz Shaikh

Azaz Shaikh is a contributor to this blog, sharing expertise and insights on tech solutions.

You Might Also Like

How to change message background on Android
Android

How to change message background on Android

In the digital age, personalization is key. From customizing your ringtones to wallpapers that grace your screens, we love making our devices uniquely ours. One such personal touch that often gets overlooked is the background of text messages on Android. Gone are the days when users were confined to the standard, monotonous backgrounds that came

Sep 28, 2023
The Ultimate Guide to Casting Oculus Quest 2 to Firestick: Unlock a Whole New Dimension of VR
Entertainment

The Ultimate Guide to Casting Oculus Quest 2 to Firestick: Unlock a Whole New Dimension of VR

Virtual reality has become incredibly popular captivating users with its thrilling and immersive experiences that are truly unprecedented. There are two known devices that allow people to enter this world; the Oculus Quest 2 and the Amazon Firestick. In this guide, we will delve into the steps involved in casting your Oculus Quest 2 to

Sep 21, 2023
10 Best LinkedIn Tips To Boost Career Opportunities
Featured

10 Best LinkedIn Tips To Boost Career Opportunities

With over 700 million professionals on its platform, LinkedIn has become a powerhouse for networking, job hunting, and professional growth. This ultimate guide will help you explore the top 10 LinkedIn tips that can significantly boost your career opportunities in every possible way.  Did you know that LinkedIn has witnessed a staggering 55 million companies

May 19, 2023

Comments

Leave a Comment

Share your thoughts and join the conversation

Your email address will not be published. All fields marked with * are required.