Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

unix Links

I was not clear about unix 'Links' concept. How same file has different name in different directory. It seems confusing to me. I wonder what are the practical uses, advantages, disadvantages, applications of links. What other operating system has similar concept? Please advise.
ASKER CERTIFIED SOLUTION
Avatar of oleggold
oleggold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Advantages are numerous but first You need to diff. between softlinks which are exactly like shortcuts and hardlinks that basically pointers to the real file and will behave the same way the file'd be .First great advantage of all links - they save space on Your HDD  
2nd + :  they eliminate duplicate copies of the same program , though better solution is add the file (if executable )to  $PATH variable
SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dadheb
dadheb

One common scenario where symbolic or softlinks are used is version control. For example, you can have a symbolic link called latest, working to the latest or working version of the file.

This way you can easily change versions by changing its link.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial