dev/sda – destroy the file system!

Users familiar with file systems probably know what >/dev/sda is. This line runs the command and sends the result of its operation directly to the hard disk, writing data directly to it, thereby damaging the file system. Here is an example:

echo “Hello” > /dev/sda

The command will replace the section containing all the data needed to boot the system with the string “Hello”.

mv~/dev/null or how to send all your data to the abyss

There is an abyss inside every Linux system. And this abyss is /dev/null. Anything that ends up in this area will be permanently deleted. Let’s analyze this command as well:

mv – required to transfer files and directories to the specified location;

~ – pointer to the home directory;

/dev/null – moves the home directory to the /dev/null device, thereby destroying all your files and deleting copies of the originals.

And although the system will not give an error and will work properly, after executing mv ~ /dev/null, all user data will disappear without a trace.


Learn More →