Links

A link is a pointer to another file or directory. Links provide a mechanism for multiple filenames to reference the same data on disk. In Solaris, there are two types of links:

Soft (Symbolic) Links

Sometimes symbolic links are used for shortcuts; other times we use them to link a filename from each user’s home directory to a centralized location or file. For example, perhaps we want to have a common directory named documents in which every user stores his documents. This directory exists as /export/data/documents. In each user’s directory, we create a link named documents that points to /export/data/documents. As a user, whenever I store something in the directory named $HOME/documents, the file ...

Get Inside Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.