Pathname
A pathname is a string that identifies a location within a hierarchical namespace, such as a file system. It specifies how to traverse directories to reach a file or directory. Pathnames can be absolute (starting from the root) or relative (based on the current working directory). The components are typically directory names separated by a separator and ending with a final element that may be a directory or a file name.
In Unix-like systems, the separator is a forward slash, absolute paths start with /. In Windows, backslashes
Pathname semantics include special components like .. to move to the parent directory and . for the current
In practice, pathnames are used by shells, programming languages, and applications to locate files, modules, or