1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
2 .TH LN "1" "October 2003" "ln (coreutils) 5.0" FSF
4 ln \- make links between files
7 [\fIOPTION\fR]... \fITARGET \fR[\fILINK_NAME\fR]
10 [\fIOPTION\fR]... \fITARGET\fR... \fIDIRECTORY\fR
13 [\fIOPTION\fR]... \fI--target-directory=DIRECTORY TARGET\fR...
15 .\" Add any additional description here
17 Create a link to the specified TARGET with optional LINK_NAME.
18 If LINK_NAME is omitted, a link with the same basename as the TARGET is
19 created in the current directory. When using the second form with more
20 than one TARGET, the last argument must be a directory; create links
21 in DIRECTORY to each TARGET. Create hard links by default, symbolic
22 links with \fB\-\-symbolic\fR. When creating hard links, each TARGET must exist.
24 Mandatory arguments to long options are mandatory for short options too.
26 \fB\-\-backup\fR[=\fICONTROL\fR]
27 make a backup of each existing destination file
30 like \fB\-\-backup\fR but does not accept an argument
32 \fB\-d\fR, \fB\-F\fR, \fB\-\-directory\fR
33 hard link directories (super-user only)
35 \fB\-f\fR, \fB\-\-force\fR
36 remove existing destination files
38 \fB\-n\fR, \fB\-\-no\-dereference\fR
39 treat destination that is a symlink to a
40 directory as if it were a normal file
42 \fB\-i\fR, \fB\-\-interactive\fR
43 prompt whether to remove destinations
45 \fB\-s\fR, \fB\-\-symbolic\fR
46 make symbolic links instead of hard links
48 \fB\-S\fR, \fB\-\-suffix\fR=\fISUFFIX\fR
49 override the usual backup suffix
51 \fB\-\-target\-directory\fR=\fIDIRECTORY\fR
52 specify the DIRECTORY in which to create
55 \fB\-v\fR, \fB\-\-verbose\fR
56 print name of each file before linking
59 display this help and exit
62 output version information and exit
64 The backup suffix is `~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
65 The version control method may be selected via the \fB\-\-backup\fR option or through
66 the VERSION_CONTROL environment variable. Here are the values:
69 never make backups (even if \fB\-\-backup\fR is given)
75 numbered if numbered backups exist, simple otherwise
78 always make simple backups
80 Written by Mike Parker and David MacKenzie.
82 Report bugs to <bug-coreutils@gnu.org>.
84 Copyright \(co 2003 Free Software Foundation, Inc.
86 This is free software; see the source for copying conditions. There is NO
87 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
89 The full documentation for
91 is maintained as a Texinfo manual. If the
95 programs are properly installed at your site, the command
99 should give you access to the complete manual.