13,420
edits
Changes
→Pathname Types
Last week, we used a pathname from our home directory to create and manipulate directories and text files. There are different types of pathnames that we can use to access a directory or text file.
'''For Example:'''<br><span style="font-family:courier">/home/userid/uli101/cars.txt </span> ('''absolute pathname''')<br><span style="font-family:courier">samples/cars.txt </span> ('''relative pathname''')<br><span style="font-family:courier">~/cars.txt </span> ('''relative-to-home pathname''')
These types of file pathnames can make it more efficient (i.e. less keystrokes for users to type) when issuing Unix and Linux commands.