DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

link(ADM)


link, unlink -- link and unlink files and directories

Syntax

/etc/link file1 file2

/etc/unlink file

Description

The link command is used to create a file name that points to another file. Linked files and directories can be removed by the unlink command; however, it is strongly recommended that the rm(C) and rmdir(C) commands be used instead of the unlink command.

The only difference between ln(C) and link/unlink is that the latter do exactly what they are told to do, abandoning all error checking. This is because they directly invoke the link(S) and unlink(S) system calls.

Limitations

These commands can be run only by the super user.

See also

link(S), rm(C), unlink(S)

Standards conformance

link and unlink are conformant with:

AT&T SVID Issue 2;
X/Open CAE Specification, Commands and Utilities, Issue 4, 1992;
NIST FIPS 151-2.


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003