[cs615asa] Symbolic links
Shashwath Veerappa Devaru
sveerapp at stevens.edu
Wed Mar 4 11:21:05 EST 2009
Hi,
Here is some info abt symbolic links
(courtesy:http://linuxreviews.org/beginner/#toc18)
ln - make symbolic links
A symbolic link is a "file" pointing to another file.
To make a symbolic link :
ln /original/file /new/link
This makes /original/file and /new/link the same file - edit one and
the other will change. The file will not be gone until both
/original/file and /new/link are deleted.
You can only do this with files. For folders, you must make a "soft"
link.
To make a soft symbolic link :
ln -s /original/file /new/link
Example:
ln -s /usr/src/linux-2.4.20 /usr/src/linux
Note that -s makes an "empty" file pointing to the original
file/folder. So if you delete the folder a symlink points to, you will
be stuck with a dead symlink (just rm it).
Shashwath
Chih-Yuan Lee wrote:
>Hi All,
>
>I have a question about symbolic links. Does anyone know what the
>exactly meaning of symbolic links?
>
>Thanks,
>Lee
>_______________________________________________
>Cs615asa mailing list
>Cs615asa at lists.stevens.edu
>https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
>
More information about the Cs615asa
mailing list