Tags:
create new tag
, view all tags
See BLT.

absolute path: See absolute pathname. An absolute path is the one and only true path to a file or directory, starting from the root of the filesystem, denoted by "/".

Aside: Hmm, I guess you could have "degenerate" or "malformed" absolute paths -- paths that include references to a parent, something like:

  • /usr/../home/user01/testfile.txt

But, that is bad practice for a number of reasons, and may be disallowed entirely (as a security risk). I will discuss this more under relative path or relative pathname.


Actually, a file can have more than one absolute path. My understanding of "absolute path" is just one that starts with "/", so that it's meaning is NOT relative to the user's current working directory. For example, suppose I have the following directory structure:

 /
 +-usr
 | |
 | +-foo (symlink to /home)
 |
 +-home
   |
   +-bar

The file bar can be referenced as "/home/bar" or as "/usr/foo/bar", both of which are absolute paths (i.e., the file they reference does not change based on the user's current working directory).

Contributors

  • RandyKramer - 29 Jan 2002
  • TomBarron - 23 Aug 2002
  • <If you edit this page, add your name here, move this to the next line>
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2003-09-07 - AnitaLewis
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look