Jump to content

link (Unix)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Alan012 (talk | contribs) at 15:54, 1 September 2008. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


link is a command line utility included with Solaris. It directly interfaces the system call link() and creates a hard link. It can be run only by privileged users in the case where the existing path refers to a directory. As described by the Solaris manpage, it differs from the ln utility as it does not perform error checking before invoking the ln call. The "link" command does not usually exist on Linux systems as it is not included in the GNU Core Utilities.

Common use:

$ link <existing filename> <newfilename>


See also