Next: , Previous: , Up: Directories and File Names   [Index]


7.2.2 Directory Names and Directory File Names

Directory Name

A directory name is a string that must name a directory if it names any file at all.

Directory File Name

A directory is actually a kind of file, and it has a file name (called the directory file name , which is related to the directory name but is typically not identical, e.g., it will not have a trailing slash.

The Difference

These two names for the same entity are related by a syntactic transformation:

The difference between a directory name and a directory file name is subtle but crucial: