On 06/16/2010 10:03 PM, ABSDoug wrote:
(That’s the way for a newbie to engender cooperation.)
(Symbolic links are just about the single coolest feature of Unix-style file systems, and are just about everywhere in /etc, /usr, /var, …)
http://en.wikipedia.org/wiki/Symbolic_link
The name just about says it all: a *symbolic* link from one file to another. For example:
$ df /mnt/windows Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 36138212 19393344 16744868 54% /mnt/windows
$ ls -1 /mnt/windows/”Documents and Settings” All Users anabelle Compaq_Owner Default User Heather ian LocalService NetworkService Ron Ron Sr
$ ln -sf /mnt/windows/”Documents and Settings”/Ron/”My Documents” Windows_Docs
$ ls -aFl Windows_Docs lrwxrwxrwx 1 ron ron 52 Jun 16 22:47 Windows_Docs -> /mnt/windows/Documents and Settings/Ron/My Documents/
$ ls -aFl Windows_Docs/ total 13 drwxrwxrwx 1 root root 4096 Nov 29 2007 ./ drwxrwxrwx 1 root root 4096 May 17 2006 ../ -rwxrwxrwx 1 root root 74 Nov 29 2007 desktop.ini* drwxrwxrwx 1 root root 0 Nov 29 2007 My Music/ drwxrwxrwx 1 root root 4096 Nov 29 2007 My Pictures/ drwxrwxrwx 1 root root 0 Dec 13 2005 My Videos/
0 Comments.