LN(1) | User Commands | LN(1) |
ln - make a link
ln [-f] [-n] [-s] name1 [name2 . . . ] target
A link is a directory entry referring to a file; the same file (together with its size, all its protection information, etc.) may have several links to it. There is no way to distinguish a link to a file from its original directory entry; any changes in the file are effective independently of the name by which the file is known.
Ln creates a link named target to an existing file name1. If target is a directory, more than one name may be given, and the links are placed in that directory, with the name of the last pathname component.
It is forbidden to link to a directory or to link across file systems. It is, however, possible to create a symbolic link even in this case; see the -s option below.
The ln command accepts the following options:
cp(1), mv(1), link(2), symlink(2)
2/2/05 | Heirloom Toolchest |