The RM command for Linux

Source: Internet
Author: User

Look at yourself:

[Email protected] ~]#RM--Help   usage: RM [options] ... File...  Delete (unlink) file. -F,--force removal. Ignore files that do not exist, do not prompt for confirmation-I need to confirm before deleting-I ask for confirmation before deleting more than three files or recursively deleting them. This option is more than-I hints less, but can also prevent most errors from occurring--interactive[=when] The confirmation prompt according to the specified when: Never,once (-I), or Always (-i). Always prompt if this parameter is not added--one-file-when the system recursively deletes a hierarchy, skips all files on the file system that do not conform to the command line arguments--no-preserve-roo No special treatment "/"--preserve-root not allowed to delete "/"(default)-R,-R,--recursive recursively deleting a directory and its contents-V,--verbose detailed display of the steps performed--Help displays this information and exits--When version displays release information and exits by default, RM does not delete the directory. Use--recursive (-R or-R) option to delete each given directory, along with all of its contents. To remove the first character as a"-" file (e.g. "-foo")), use one of the following methods: RM-- -Foo RM./-Foo Note that if you use RM to delete a file, you can usually still restore the file to its original state. If you want to ensure that the contents of the file cannot be restored, consider using shred. Please refer to the bug-[email protected] Report RM error GNU coreutils Project home page://www.gnu.org/software/coreutils/>GNU Software general help: //www.gnu.org/gethelp/>Please refer to //translationproject.org/team/zh_cn.html> Report translation errors for RMTo get the complete documentation, run: info coreutils ' RM invocation '

The RM command for Linux

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.