How to delete all files safely in Linux permanently

Linux better known as the free operating system, it has multiple advantages such as easily installing Xubuntu from Ubuntu . But how much do you know about this? Today you will see how to delete all files safely in Linux.

Sometimes it is necessary to delete the files generated by installing packages or programs in Ubuntu from the terminal , but in certain cases you have to delete everything .

This may sound simple, and it actually is, but not everyone knows how to do it, and on Linux it is even more mysterious.

What is Linux?

Before going on to learn how to delete all files safely in Linux, it is good if you know a little more about this operating system, which many people ignore because it is not number one in the world.

Linux is a set of UNIX-like operating systems, which are multi-tasking, multi-platform and multi-user. It is called free software because its entire code can be reprogrammed and distributed by anyone.

So it is the cradle of many new projects, such as installing Android Studio for Linux PCs . It is also the refuge of many professional and amateur programmers, giving them all the necessary tools to innovate and create a multitude of new things.

For this reason it is used in most supercomputers in the world, it is estimated that by 2017 the 500 main supercomputers that exist used Linux, due to its ease of editing their code to adapt to the needs of the user.

 

Safely delete all files in Linux

Today we are all fans of privacy and if what you read above enchanted you and you want to give this operating system a try , it is good that you know at least the minimum of use, such as that of today’s quote, deleting all files safely on Linux.

To get straight to the point, there are three tools with which you can achieve this, the first of these is called Shred. This is already found natively in Linux and allows you to overwrite the content of a file to hide it and you can also delete it.

The first thing you should do is go to the table or terminal that allows you to write commands in Ubuntu, for this just press “Ctrl + Alt + T” and that’s it, once here write the following parameters:

To rewrite the file (you must add zeros to the end of it), -v to see how far the operation is progressing, -u delete the file, -n to specify the number of times you want the file to be overwritten. With this ready, you will be able to safely delete all files in Linux.

The second tool is called Wipe, and it obviously has the same purpose only that it works only for the hard disk. You must first install it in the Ubuntu terminal by typing the following: “sudo apt-get install wipe”.

Once installed you must put “wipe-rfi file ” when you want to permanently delete something from the computer, so that it does not fall into the wrong hands.

 

In conclusion…

You had read that there are ways to delete browsing history from a particular website , you can also safely delete files on Linux, effectively highlighting the Secure-delete call.

As the previous one you have to install it in Ubuntu, for this use the command: “sudo apt-get install secure-delete” , once the installation is finished you will only have to use the command: srm -vz file and ready information deleted and secured.

And with this ends your learning today, since no method should take more than 10 minutes (depending on what you are deleting, of course), and you can effectively use this operating system with the assurance that your files will be protected once it is time to delete them.

 

Leave a Comment