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 (printworkingdirectory) command displays the current directory (absolute path ). The touch command is used to change the file time...
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
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.