link(1M)


link, unlink -- link and unlink files and directories

Synopsis

/usr/sbin/link file1 file2

/usr/sbin/unlink file

Description

unlink -- unlink files and directories

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

The only difference between ln and link and 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 and unlink system calls.

References

link(2), rm(1), unlink(2)

Notices

These commands can be run only by a privileged user.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.