Rmdir command usage introduction for one linux Command every day, And rmdir command sharing for linux commands

Source: Internet
Author: User

Rmdir command usage introduction for one linux Command every day, And rmdir command sharing for linux commands

Rmdir command. Rmdir is a common command used to delete an empty directory. A directory must be empty before it is deleted. (Note that the rm-r dir command can replace rmdir, but it is highly risky .)

1. command Format: rmdir [Option]... directory... 2. command function: This command deletes one or more sub-directory items from a directory. to delete a directory, you must have the write permission on the parent directory. 3. Command Parameter:-p recursively deletes the directory dirname. When the subdirectory is deleted and its parent directory is empty, it is also deleted. If the entire path is deleted or some paths are retained for some reason, the system displays the corresponding information on the standard output. -V, -- verbose shows the Command Execution Process 4. Command instance: instance 1: rmdir-p recursively Delete directory command: rmdir-p logs

Related Article

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.