Linux file management: OA Spinach Platform Build command detailed

Source: Internet
Author: User
OA Spinach Platform Build commands you can delete one or more files or directories in a directory, or you can delete a directory and all of its subordinate files and subdirectories. For linked files, only the entire linked file is deleted, and the original file remains unchanged. Enterprise: 217 1793 408

Note: Use the RM command with extreme caution. Because once a file is deleted, it can no longer be recovered. So, before deleting a file, it's a good idea to look at the contents of the file and determine if you really want to delete it. The RM command can be used with the-I option, which is particularly useful when deleting multiple files using the file extension name character. With this option, you will be asked to determine whether you want to delete it. In this case, you must enter Y and press ENTER to delete the file. If you press the ENTER key or other characters only, the file is not deleted.

Grammar

RM (option) (parameter)
Options

-D: Delete the hard connection data of the directory you want to delete to 0, delete the directory;
-F: Forcibly deleting files or directories;
-I: Ask the user before deleting an existing file or directory;
-R or-R: Recursive processing, all files under the specified directory are processed in conjunction with subdirectories;
--preserve-root: Do not recursively operate the root directory;
-V: Displays the detailed execution of the instruction.

Linux file management: OA Spinach Platform Build command detailed

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.