Creation of a directory (mkdir)
1 mkdir used to create an empty directory 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M00/72/70/wKiom1Xj2X_ Cklfxaabqnl4dchu623.jpg "title=" Image 1.png "alt=" Wkiom1xj2x_cklfxaabqnl4dchu623.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/70/wKiom1Xj2dyy0QvEAAB0nQli-OE952.jpg "title=" Image 2.png "alt=" Wkiom1xj2dyy0qveaab0nqli-oe952.jpg "/> 2mkdir-p for creating multiple empty directories at the same time
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/70/wKiom1Xj2v3yDclSAAD0p-VpYG0886.jpg "title=" Image 3.png "alt=" Wkiom1xj2v3ydclsaad0p-vpyg0886.jpg "/>
3mkdir-v used to display the creation process
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/70/wKiom1Xj28ejAz_ZAACjAStQWSU758.jpg "title=" Image 4.png "alt=" Wkiom1xj28ejaz_zaacjastqwsu758.jpg "/>
Two delete an empty directory
rmdir for removing empty directories
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/6D/wKioL1Xj3qvQlLgVAACDhXdUwHw326.jpg "title=" Image 5.png "alt=" Wkiol1xj3qvqllgvaacdhxduwhw326.jpg "/>
Note (rmdir non-empty directory is not deleted)
This article is from the "Llinux Learning Experience" blog, please be sure to keep this source http://2694273649.blog.51cto.com/10650610/1690089
Linux file system-creation and deletion of directories