link(1M) link(1M)
link, unlink - link and unlink files
link file1 file2
unlink file
The link command is used to create a filename that points to another
file. The unlink command is used to remove a link to a file.
The only difference between ln(1) and link(1M) is that the latter simply
makes the link(2) system call with the arguments specified. No error
checking is performed. Analogously, unlink(1M) simply calls the
unlink(2) system call with the specified pathname.
Use of these commands is discouraged. The commands ln(1), rm(1), and
rmdir(1) provide the necessary functionality in a safer manner.
ln(1), rm(1), rmdir(1), link(2), unlink(2).
PPPPaaaaggggeeee 1111 [ Back ]
|