Display pathIn order to check on existing path, do the following:
in Windows, just type:
in Unix, just type
To add additional folder to the path, do the following:
for example, to add c:\t2 to front of the path, just do type the following:
in Unix, if we want to add /usr/sfw/bin to the front of the path, it is a two step process, type:
to verify type the display path shown above.
A reminder, the paths are evaluated from left to write. In both Windows and Unix, when we try to execute any program, it will first search for the application in the current folder, then it will traverse the path from left to right.