Check the status of CVEs. Learn More.
Keeping your systems up 100% of the time requires live patching. Our solutions will align strongly with your risk, compliance, and operational uptime requirements.
TuxCare is trusted by the most innovative companies across the globe.
Our partner program is designed with flexibility in mind for partners who are at various stages of their business lifecycle. With financial investment and dedicated resources, you will continue to grow with TuxCare.
Would you like to work with a leader in open source and Linux security that values innovation and partnerships?
Partners receive benefits that are designed to reward the commitment that they have made to the sale of our products and services.
Learn about TuxCare's modern approach to reducing cybersecurity risk with Blogs, White Papers, and more.
Continually increasing Cybersecurity, stability, and availability of Linux servers and open source software since 2009.
September 2, 2022
Database, linux, security
Losing files can generally be a painful experience, especially when it comes to a lot of vital information and Linux users are not exempted. Often, when these files are deleted, they cannot be recovered because people do not have the technical know-how to deal with them.
It is however possible to recover files. To recover deleted or lost files, illustration is needed. For example, a file ‘linuxshelltips’ on removable media (/dev/sdb5) on our Linux system at (/media/dnyce/117137A85FFD287C) partition was deleted and needs to be restored.
It is possible to recover deleted files in Linux with TestDisk Data Recovery Tool. Not only is the tool effective in recovering lost data, it can also be used to restore corrupted file systems in a Linux environment.
TestDisk Data Recovery Tool can be installed on major Linux distributions. Once installed, it is important to switch to the root user account and start TestDisk and press [Enter] on the highlighted option that says “Create a new log file.”
Once the action has been taken, users will receive a list of all the hard disk devices present on their systems. They can then navigate to the device from which they want to recover their lost data.
The next action is to use the keyboard arrow keys and navigate to the [Proceed] menu option at the bottom of the drive list.
Although TestDisk tends to highlight the most practical option, users are advised to select the default option for the partition table by pressing [Enter] on the keyboard, then clicking on the [Advanced] option and pressing [Enter] on the keyboard.
After that, users can navigate to the partition option, which displays the [Undelete] option at the bottom of the terminal window, and press [Enter] on their keyboard.
After the action, the deleted linuxshelltips file is restored.
Users who wish to recover more than one file are advised to use the keyboard key [a] to select/deselect them. To copy multiple selected files, it is recommended to use the keyboard key [c].
The sources for this piece include an article in Linuxshelltips.
Tell us your challenges and our experts will help you find the best approach to address them with the TuxCare product line.