5.3 Paths

A path consists of an optional directory portion and an optional filename portion. A path that begins with a slash / is called an absolute path because it specifies a file or directory from the root directory. All other paths are called relative.

In a path specifiction, you can use the slash / symbol to separate a subdirectory or file from its parent directory.

If a path specification starts without a slash, it is relative to the current working directory.



Copyright © 2006-07-05 by Tak Auyeung