Research V4 development
[unix-history] / man / man1 / ln.1
CommitLineData
8980fb0b
KT
1.th LN I 3/15/72
2.sh NAME
3ln \*- make a link
4.sh SYNOPSIS
5.bd ln
6name1 [ name2 ]
7.sh DESCRIPTION
8A link is a directory entry referring
9to a file; the same file (together with
10its size, all its protection
11information, etc)
12may have several links to it.
13There is no way to distinguish a link to a file
14from its original directory entry;
15any changes in the
16file are effective
17independently of the name by which the file is known.
18.s3
19.it Ln
20creates a link to an existing file
21.it name1.
22If
23.it name2
24is given, the link has that name;
25otherwise it is placed in the current directory
26and its name is the last component
27of
28.it name1.
29.s3
30It is forbidden to link to a directory
31or to link across file systems.
32.sh "SEE ALSO"
33rm(I)
34.sh BUGS
35There is nothing particularly
36wrong with
37.it ln,
38but
39.it tp
40doesn't understand about links and makes one copy for
41each name by which a file is known;
42thus if the tape is extracted
43several copies are restored and the information that links were involved
44is lost.