{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Week 4--5 - Week-4-5 Program search path Both Windows and...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Week-4-5 Program search path Both Windows and UNIX support the concept of a "program search path": A program search path is a list of folders (directories), in which the operating system looks, when a user enters a command in (typically) the command-line interface. In Windows, the list is delimited with semicolons. (In UNIX, colons are used.) Here’s how a search proceeds: In both operating systems, the command shell (e.g. cmd.exe on Windows, or bash on UNIX) attempts to locate the command in its internal command set. If there’s no match, it moves on to the next step. In Windows, the current folder (directory) is then searched. In UNIX, that may not be the case (depending upon configuration settings). If there’s no match, it moves on to the next step. In both operating systems, the program search path (in Windows, the %PATH% environment variable; in UNIX, the $PATH environment variable) is examined. The operating system looks at each folder (directory) in the list, and attempts to find a match.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern