Updated: 2017-03-09 09:26 EST

1 IntroductionIndexup to index

In contrast to “hard links”, symbolic links are called “soft links” or “symlinks”. They were invented to solve the limitation of not being able to make hard links to directories. Symbolic links can link to anything, even directories, so they can give multiple names to directories.

Symbolic links were brought to Unix at Berkeley (BSD Unix) in the 1980s. They are now available in Microsoft NTFS as of Windows Vista, 30 years later. See: http://www.howtogeek.com/howto/windows-vista/using-symlinks-in-windows-vista/

2 Second-class citizensIndexup to index

Symlinks are similar to Windows/Macintosh aliases and have some of the same limitations. They are secondary names, because they don’t change the link count field of the things they link to and they can stop working if you rename or delete the actual file system object that is the target of the link. Symlinks are second-class file system objects and many programs – especially programs that recursively walk directory trees such as find, tree, cp -r, and ls -R – don’t follow them, so they don’t cause infinite loops in the file system.

| Ian! D. Allen, BA, MMath  -  idallen@idallen.ca  -  Ottawa, Ontario, Canada
| Home Page: http://idallen.com/   Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

Plain Text - plain text version of this page in Pandoc Markdown format

Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen