Rm-rf/* command

Source: Internet
Author: User

Run "rm-rf/*" in SSH. If you do not understand this command, all Linux system files may be deleted.

This DELETE command can be executed only for accounts with the "root" permission. Other accounts without the "root" permission can only delete files belonging to their own users or user groups.

The Linux directory is stored in directory format such as/, and rm is the Linux DELETE command, followed by "-rf", "-r" refersRecursive deletion (which means to delete all files and folders in the current directory), while "-f" meansForce Delete. /* Indicates all files under the root directory.

If you execute force recursive deletion under the/directory, the command will delete all system directories including/home And/sbin under/without any prompt.


Rm-rf /*

Do not execute the preceding command at will; otherwise, the entire centos system will be deleted.

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.