Wednesday, June 15, 2011

--- SYMLINK ---

Most People understand the concept of shortcuts. A shortcut is really a pointer from one location in to a file in another area of the system. Shortcut in Windows and Linux are about the same thing. They are mere abstract representation of the original file.

One important difference between Win and Linux is that Linux creates a symbolic link (symlink) that can be treated exactly as if it were the file for most purposes. Symlinks are powerful peace of abstraction because it seams as if a file is in multiple places at once.

You create it in GUI by right-clicking on the file or directory, and select Make Link. You can then drag drop and even rename it if you like. In a shell use ln with attribute -s

No comments:

Post a Comment