link(1M) manual page
Table of Contents
link, unlink - link and unlink files and directories
/usr/sbin/link
file1 file2
/usr/sbin/unlink file
SUNWcsu
The link command
is used to create a file name that points to another file. file1 is the
existing file, file2 is the newly-created file. Linked files and directories
can be removed by the unlink command; however, it is strongly recommended
that the rm(1)
and rmdir(1)
commands be used instead of the ln(1)
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.
ln(1)
,
rm(1)
, link(2)
, unlink(2)
These commands can be run only by the super-user.
Table of Contents