Open main menu

CDOT Wiki β

Changes

Pathname Types
===Pathname Types===
As previously mentioned, a pathname is a fully-specified location of a unique filename within a �file file system. The concept of a pathname relates to every operating system including:� Unix Unix, Linux, MS-DOS,  MS-Windows, Apple-Macintosh, etc.
Last week, we used a pathname from our home directory to create and manipulate directories �and and text files. There are different types of pathnames that we can use to access a directory or text file.
'''For Example:'''<br>/home/userid/uli101/cars.txt<br>('''absolute pathname''')�samples<br>samples/cars.txt ('''relative pathname''')<br>~/cars.txt ('''relative-to-home pathname''')
These types of file pathnames can make it more efficient (i.e. less keystrokes for users to type) �when when issuing Unix and Linux commands.
13,420
edits