When using a computer, we hope to recover important files that have been accidentally deleted. It is true that most of the data can be recovered through some effort. But on the other hand, we don't want something that involves personal privacy to be restored. In the Linux system, users use the rm command to delete data, but in this way, the hacker can use various software to easily recover the deleted data. Data can be safely deleted only with a few tools.
Let's look at how safe and completely delete files from your Linux system or folder. The tools mentioned below can completely delete data, so those recovery tools find it difficult to find traces of real data and then recover it.
1.Secure-Delete
Secure-Delete is a collection of tools for the Linux operating system that provide advanced technical support for permanently deleting files. Once Secure-Delete is installed on various Linux systems, the following four commands are provided:
srm smem sfill sswap
Run the following command in the Ubuntu terminal to install this tool: br>
sudo apt-get install secure-delete
run RHEL, Fedora or CentOS command to install the tool follows:
sudo yum install secure-delete
“srm” command works like the "rm" command, but it is more than just deleting a file. It first rewrites the file several times with some random data and then completely deletes the file. The syntax of this command is quite simple, just specify the file or directory to be deleted, and then it will be responsible for this task.
sudo srm /home/aun/Documents/xueo/1.png
"sfill" Detects the space marked as free or available in the specified partition or directory, then uses itself The algorithm is populated with some random data. Therefore it guarantees that there are no files or folders that can be recovered on this partition.
sudo sfill /home
The "sswap" command is used to safely clear your swap partition. The swap partition is used to hold the data of the running program. First we need to run the following command to find your swap partition.
cat /proc/swaps
The following is an example of the output of the above command:
aun@eagle:~$ cat /proc/swaps
FilenameTypeSizeUsedPriority< Br>
/dev/sda5 partition 208486071216-1
From now on, you can see which partition your swap partition is set to, and then safely clean it using the following command. Replace the "/dev/sda5" section with your swap partition name.
sudo sswap /dev/sda5
“smem” Used to clean up the contents of the memory, although the contents of the random access memory (RAM) will be cleaned up when the system is restarted or shut down. , but some traces of data will remain in memory. This command provides a secure memory cleanup by simply running the smem command in the terminal.
smem
Previous12Next Total 2 Pages
Ganglia is an open source monitoring software that can have a monitoring server. Ma
Linux libgdiplus is a Mone library that can be used to display the color of web pages. However, many
MBR is the boot information of the system. The MBR information in the Linux system
CentOS system operation, ImageMagick is a picture processing tool, can be used to compress the size
What should I do if the GRUB boot error occurs when CentOS is booting?
How to use the command line to access Gmail
Linux ssh connection prompts The authenticity of how to remove?
What should I do if the Linux system SSH timeout is disconnected?
Ubuntu KDE desktop environment Eclipse new project flashback processing method
Linux system 11 terminal commands that cannot be known
What should I do if Ubuntu is installed and restarted after VM Virtualbox?
What if CentOS 6.4 upgrades Python and yum is not available?
Linux system management disk and file method
How to install and use Sphinx in Linux system
Fedora through l2tp vpn networking method
Ubuntu 14.04 method for loading shutdown/restart options in Dash
CF new power booster station attack to kill enemy collar 7 gold batons
Automatically send error reports Close error pop-ups have a trick
Win10 set UG Chinese and English fast switching method
Choosing the right anti-virus software for your own
Nokia 1320 installed Win10 Mobile 10586.29 updated what?
How to solve the win7 sound card driver installation failure error code 0EX0000100
Have you met? Top 10 most prone to PC disasters (3)
Add "Run as other user" menu for applications in the Start menu in Windows 10
Detailed illustration Win7 installation is simple optimization tutorial