What is the difference between path./write and no write?

Source: Internet
Author: User
I suddenly want to drill the corners and reply to the content: For * nix systems (including Mac OS X)
When operating files, there is little difference.
When you run the command, if you do not write it, you will find it from the $ PATH parameter. If there is no current PATH (.) in it, the system will prompt that the command cannot be found. And use ./ CommandIn the current path. CommandFile.
For Windows
Do not recognize "/", but report an error saying do not recognize ".". I only know that in linux, the current path has no execution permission by default, so the executable program cannot be executed directly unless the current path is in the path variable. After adding./, You can execute the program in the current path and learn to use the bash type command to try and understand it.

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.