Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ link(1M) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ln(1)

rm(1)

link(2)

unlink(2)

attributes(5)

link(1M)

NAME

link, unlink − link and unlink files and directories

SYNOPSIS

/usr/sbin/link file1 file2
/usr/sbin/unlink file

DESCRIPTION

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. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Availability SUNWcsu

SEE ALSO

ln(1), rm(1), link(2), unlink(2), attributes(5)

NOTES

These commands can be run only by the super-user. 

SunOS 5.6  —  Last change: 14 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026