What is the main advantage of creating links to a file
instead of copies of the file?
Answers were Sorted based on User's Feedback
Answer / daniel
The main advantage is not really that it saves disk space
(though it does that too) but, rather, that a change of
permissions on the file is applied to all the link access
points. The link will show permissions of lrwxrwxrwx but
that is for the link itself and not the access to the file
to which the link points. Thus if you want to change the
permissions for a command, such as su, you only have to do
it on the original. With copies you have to find all of the
copies and change permission on each of the copies.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / bkoh
It is a way to allow one common copy. Most commonly used
for linking to a common configuration or library file where
the file owner or administrator will just need to make the
updates and all the users will have the same updates.
This is in contrast to every user having their own copies
and when there is a major change, every user will have to
ensure that their copies is the most updated.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / praveen
actually, if u have one version of dll and u dont want end
user to know abt that and when second version comes u r
changing the original file and now use the link to point
the latest version, so end user dont know abt the original
dll file.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / v s
File is a resource. It can be needed by n no of processes at the same time. So to avoid inconsistency, to save memory and for the ease of checking/changing the access permissions, its better to keep files linked and not to make copies.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / tyquan
it allows you to return to the web page without remembering
the URLs
| Is This Answer Correct ? | 0 Yes | 1 No |
What do you mean by nice value?
What is an incremental backup?
Could you tell something about the Unix System Kernel?
If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?
How do you list the files in an UNIX directory while also showing hidden files?
What is a daemon?
what is the time for incident, problem and change management tickets?
How to setup display for a remote system?
What is Fork swap?
1 Answers Infosys, SSI Small Scale Industries,
System A can contact system B, but not in reverse, not firewall, not tcp wrappers, what is the reason ?
what is difference between kernel and shell?
what is output mkvg pvname