How to create folders and files in Fedora

Source: Internet
Author: User
Tags touch command
In Fedora, the command for creating a folder is different from that for creating a file in Fedora. The command used to create a file is touch, while the command used to create a folder is mkdir. The following example shows how to use the two commands: 1. touch Command (1) in the current directory, create a name... in Fedora, the command for creating a folder is different from that for creating a file in Fedora. The command used to create a file is touch, while the command used to create a folder is mkdir. The following example shows how to use the two commands: 1. touch Command (1) in the current directory, create a file named lyc. you can see that the file lyc has been successfully created in the current directory. (2) in the aaa folder (directory), create the file lyc 2. mkdir command (1) create a folder (directory) named bbb under the current directory (2) create a folder named bbb under the current aaa folder (directory) we can see that the bbb folder (directory) has been successfully created under the aaa folder (directory ).
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.