O'Reilly logo

Linux and Unix Shell Programming by David Tansley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

1.9. Symbolic (soft) links

There are two different types of links, soft and hard, but we’ll only be looking at the soft link. A soft link is really a pointer to a file. You’ll find that soft links come in very handy.

1.9.1. Using soft links saves multiple copies of files

Here’s how it works. Say you have a file that contains sales information that is stored in /usr/local/admin/sales, and everybody in sales wants to look at that file. Instead of copying the file to their $HOME areas you can create a file from their $HOME area that ‘points’ to the actual file in /usr/local/admin/sales. Then when you need to update the sales file, you just update that one file, in /usr/local/admin/sales. The files from the sales home directory that users are pointing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required