Commit | Line | Data |
---|---|---|
a7d62908 BJ |
1 | .TH LN 1 11/16/79 |
2 | .UC | |
3 | .SH NAME | |
4 | ln, lnall \- make links | |
5 | .SH SYNOPSIS | |
6 | .B ln | |
7 | name1 [ name2 ] | |
8 | .br | |
9 | .B lnall | |
10 | name ... directory | |
11 | .SH DESCRIPTION | |
12 | A link is a directory entry referring | |
13 | to a file; the same file (together with | |
14 | its size, all its protection | |
15 | information, etc.) | |
16 | may have several links to it. | |
17 | There is no way to distinguish a link to a file | |
18 | from its original directory entry; | |
19 | any changes in the | |
20 | file are effective | |
21 | independently of the name by which the file is known. | |
22 | .PP | |
23 | .I Ln | |
24 | creates a link to an existing file | |
25 | .IR name1 . | |
26 | If | |
27 | .I name2 | |
28 | is given, the link has that name; | |
29 | .I name2 may also be a directory in which to place the link; | |
30 | otherwise it is placed in the current directory. | |
31 | If only the directory is specified, the link will be made with | |
32 | its name the same as the last component | |
33 | of | |
34 | .IR name1 . | |
35 | .PP | |
36 | .I Lnall | |
37 | makes links to all the named files in the named directory. | |
38 | The links made will have the same name as the files being linked to. | |
39 | .PP | |
40 | It is forbidden to link to a directory | |
41 | or to link across file systems. | |
42 | .SH "SEE ALSO" | |
43 | rm(1) |