Linux tap these commands before you think about it!

Source: Internet
Author: User

1, RM-RF/

[Email protected] ~]# RM-RF/

RM: Recursive operation in "/" is very dangerous

RM: Skip Safe Mode using the--no-preserve-root option

[Email protected] ~]#

Actually I want to say is RM-RF * * 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0012.gif "alt=" J_0012.gif "/>

In addition RM-RF and RM-RF * Such orders to be good before knocking. If you're afraid of accidentally deleting it, you can get a recycle Bin on Linux.


2, mkfs.ext3|4/dev/xxx 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0032.gif "alt=" J_0032.gif "/>


In fact, I would like to say that when the format of the hard disk to determine the best of their own disk. Avoid accidental injury


3, VIM + Service main configuration file 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0036.gif "alt=" J_0036.gif "/>


In fact, I would like to say that before editing the best use of CP to make a backup. Avoid hand errors.


4, DD

The DD command is used to copy & change hard disk partitions. It's also dangerous if you use the wrong place.

The following command will clear the entire primary drive

DD If=/dev/zero of=/dev/xxx

In fact, I would like to say that the DD command is best to be careful especially not to take your 512-byte joke. 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0060.gif "alt=" J_0060.gif "/>


5, Echo > 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0013.gif "alt=" J_0013.gif "/>

What I'm trying to say is to make sure that you have a backup of your stuff and make sure the operation is fine. Otherwise things are imported rather than appended.



6, Shutdown | restart 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0065.gif "alt=" J_0065.gif "/>

What I'm trying to say is that the shutdown reboot ensures that important data is backed up. It is best not to shut down or restart the server.




This article is from the "[email protected]" blog, please be sure to keep this source http://renzhiyuan.blog.51cto.com/10433137/1855271

Linux tap these commands before you think about it!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.