Jump to content

Symbolic link

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jbailey (talk | contribs) at 21:49, 7 February 2003 (Create article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A symbolic link is an entry in a Unix (or Unix-like) filesystem that allows a directory entry to refer to another directory entry.

Using the 'ls' command, which is standard on these systems, a symbolically linked filed might look something like this:

lrwxrwxrwx 1 jbailey jbailey 4 2003-02-07 16:49 link -> file

The 'l' in the first column is a hint that this file is a symbolic link. The information at the furthest right indicates that this file is called 'link', and that when you access it, you will see the contents of 'file'.