Research V7 development
[unix-history] / usr / man / man1 / ln.1
CommitLineData
a44f9dfd
KT
1.TH LN 1
2.SH NAME
3ln \- make a link
4.SH SYNOPSIS
5.B 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.PP
19.I Ln
20creates a link to an existing file
21.IR name1 .
22If
23.I 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.IR name1 .
29.PP
30It is forbidden to link to a directory
31or to link across file systems.
32.SH "SEE ALSO"
33rm(1)