A linux Command cd every day

Source: Internet
Author: User


When you enter a new company, you need to use linux commands. Therefore, there is less than one entry per day. For supervision on their own learning and use. If there are any mistakes, please advise. The cd command is one of the most commonly used commands in linux, and I think the other should be ls (later ). The main function is to jump to the specified directory of the cd command. Cd Command Format: cd [-L |-P] [dir] common cd commands: 1. Jump to the specified directory: cd dirdir can be an absolute or relative path. Dir/is to jump to the root directory. Www.2cto.com dir is still a wildcard, such as: cd a * B cd a */p. 2. Jump to the main directory: cd or cd ~ 3. jump to level 1: cd .. 4. jump to the last Directory: cd-Example: cd/home/test/test1 at this time under/home/test/test1 cd at this time under the root-then back to the/home/test/test1 under 5. jump to the position indicated by the previous command: cd! $ Use the parameters of the previous command as the directory author CrazyNemo of cd

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.