Relative and absolute paths in Linux and Windows

Source: Internet
Author: User
Relative path and absolute path in Linux and Windows: The relative path of Windows, such as C:/a.txt, starting with a drive letter :. the current directory .. indicates the upper-level Directory of the current directory. /test indicates the test folder in the current directory/test indicates the current...
Relative and absolute paths in Linux and Windows:
Start with a drive letter, such as C:/a.txt Windows relative path :. the current directory .. indicates the upper-level Directory of the current directory. /test indicates the test folder in the current directory/test indicates the absolute path of the test folder www.2cto.com Linux under the current drive letter:
For example, the path starting with the root directory/indicates the relative path of the root directory Linux :. /indicates the current directory .. /indicates the upper-level Directory of the current directory. represents the current directory ,.. it seems that the parent directory is unified.
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.