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 is the difference between grep & find?
what is RAID 1+0?
How do you list the files in an UNIX directory while also showing hidden files?
In this command sqlplus -s username/password what is -S and what's the use..???
What are permissions in UNIX?
What are the main differences between Apache 1.x and 2.x?
interprocess command in unix be achieved by a)pipes b)messages c)semaphores d)shared memory e)all
What is egrep?
Name key files or directories on a UNIX system that should always be backed up?
How to give root privileges without using SU/sudor ?
What is file constructing in UNIX/AIX ?
How do you execute a UNIX command in the background?