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 |
which is the best book for learning unix and linux?
What is the difference between a soft link and a hard link?
What is 'inode'?
What is the job responsibility of a System Administrator (UNIX/LINUX),briefly describe (Also point out system admin's daily job details),specify job type & job description?
2 Answers HP, ICS Integrated Computer Solutions, TCS,
What is the number of the masked code ee@?
2 Answers Accenture, Amazon, Amdocs,
The UNIX shell is.... a).does not come with the rest of the system b).forms the interface between the user and the kernal c) does not give any scope for programming d) deos not allow calling one program from with in another e) all of the above
What is the difference between > and >> operators?
What is a level 0 backup?
differentiate between named & unnamed pipe.
11 Answers Cisco, IIT, ISEC,
System A can contact system B, but not in reverse, not firewall, not tcp wrappers, what is the reason ?
What is the difference between windows environment and Unix environment ?
Explain the read, write, and execute permissions on a UNIX directory.