|
|
#1 (permalink) Top |
|
Paranoid Geeky Geek
![]() Join Date: Mar 2006
Age: 34 Male
Posts: 5,826
Times Helpful: 309
My Mood: Paranoid
Status: Offline
|
hiya all, is a symbolic link the same or similar to a shortcut in windows - yes i am thick when it comes to linux lol
__________________
|
|
|
|
|
#2 (permalink) Top |
|
The King
![]() ![]() Join Date: Jan 2004
Age: 18 Male
Posts: 5,255
Times Helpful: 403
My Mood: Drunk
Status: Offline
|
Similar, but not quite the same.
When you follow a symbolic link in linux, it takes you to its destination like in windows. But it is more flexible than a shortcut. A symlink from /usr/local/example to /home/user would point to the /home/user directory. A program that writes to /usr/local/example directory would actually write to /home/user. In windows, the shortcut does not have that feature. A symlink is "transparent" in that it is not actually a file like .lnk shortcuts in windows, but a pointer instead.
__________________
Never trust a program you don't have the source code for. ![]() My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers |
|
|
|
|
#3 (permalink) Top | |
|
Paranoid Geeky Geek
![]() Join Date: Mar 2006
Age: 34 Male
Posts: 5,826
Times Helpful: 309
My Mood: Paranoid
Status: Offline
|
Quote:
__________________
|
|
|
|
|
|
#4 (permalink) Top |
|
The King
![]() ![]() Join Date: Jan 2004
Age: 18 Male
Posts: 5,255
Times Helpful: 403
My Mood: Drunk
Status: Offline
|
In my example, /usr/local/example is the symlink. It doesn't write data itself. If I program tries to write to /usr/local/example, it seems to the program that it is writing to the directory. But in actual fact the data is being "redirected" to /home/user.
Another example of use: Writing a file to the directory /usr/local/example/mydocs/ actually writes to /home/user/mydocs. the user/programs can write to directories contained within a symlink to some extent. A symbolic link is just in fact, a link. It doesn't make a copy of the file, but simply "redirects" attempts to read/write to it to the actual destination.
__________________
Never trust a program you don't have the source code for. ![]() My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers |
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gadget Forums link? | Exfoliate | Suggestions and Feedback | 4 | 20-03-2005 05:56 PM |
| D-link requirements | Jecht | Networking and Computer Security | 2 | 25-01-2005 11:56 PM |