One day linux Command: clear, pwd, touch, mkdir

Source: Internet
Author: User
Tags touch command


Today's command parameters are relatively simple, so I want to learn more. The clear command is used to clear the screen. Ctrl + L has the same effect. The pwd (print working directory) command displays the current directory (absolute path ). The touch command is used to change the file time. You can use touch -- help to view the parameters. But it is generally used to create a file, that is, touch fileName. Of course, when the fileName file does not exist. The function of the command www.2cto.com mkdir (make directories) is to create a directory. For more information about the parameters, see mkdir -- help. Commonly used: 1. mkdir dir: create a directory. 2. mkdir-m 644 dir: create a directory and Set permissions for it. 644 meaning it is described in the chmod command. 3. mkdir-p dir1/dir2/dir3: Create dir3 under dir1/dir2. When dir1 and dir2 do not exist, they can be created at the same time. Author: CrazyNemo

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.