~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to man/ln.1

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2
 
.TH LN "1" "September 2011" "GNU coreutils 8.12.197-032bb" "User Commands"
 
2
.TH LN "1" "October 2012" "GNU coreutils 8.20" "User Commands"
3
3
.SH NAME
4
4
ln \- make links between files
5
5
.SH SYNOPSIS
21
21
In the 2nd form, create a link to TARGET in the current directory.
22
22
In the 3rd and 4th forms, create links to each TARGET in DIRECTORY.
23
23
Create hard links by default, symbolic links with \fB\-\-symbolic\fR.
 
24
By default, each destination (name of new link) should not already exist.
24
25
When creating hard links, each TARGET must exist.  Symbolic links
25
26
can hold arbitrary text; if later resolved, a relative link is
26
27
interpreted in relation to its parent directory.
45
46
prompt whether to remove destinations
46
47
.TP
47
48
\fB\-L\fR, \fB\-\-logical\fR
48
 
make hard links to symbolic link references
 
49
dereference TARGETs that are symbolic links
49
50
.TP
50
51
\fB\-n\fR, \fB\-\-no\-dereference\fR
51
 
treat destination that is a symlink to a
52
 
directory as if it were a normal file
 
52
treat LINK_NAME as a normal file if
 
53
it is a symbolic link to a directory
53
54
.TP
54
55
\fB\-P\fR, \fB\-\-physical\fR
55
56
make hard links directly to symbolic links
56
57
.TP
 
58
\fB\-r\fR, \fB\-\-relative\fR
 
59
create symbolic links relative to link location
 
60
.TP
57
61
\fB\-s\fR, \fB\-\-symbolic\fR
58
62
make symbolic links instead of hard links
59
63
.TP
65
69
the links
66
70
.TP
67
71
\fB\-T\fR, \fB\-\-no\-target\-directory\fR
68
 
treat LINK_NAME as a normal file
 
72
treat LINK_NAME as a normal file always
69
73
.TP
70
74
\fB\-v\fR, \fB\-\-verbose\fR
71
75
print name of each linked file
76
80
\fB\-\-version\fR
77
81
output version information and exit
78
82
.PP
79
 
The backup suffix is `~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
 
83
The backup suffix is '~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
80
84
The version control method may be selected via the \fB\-\-backup\fR option or through
81
85
the VERSION_CONTROL environment variable.  Here are the values:
82
 
.PP
83
 
Using \fB\-s\fR ignores \fB\-L\fR and \fB\-P\fR.  Otherwise, the last option specified controls
84
 
behavior when the source is a symbolic link, defaulting to \fB\-P\fR.
85
86
.TP
86
87
none, off
87
88
never make backups (even if \fB\-\-backup\fR is given)
94
95
.TP
95
96
simple, never
96
97
always make simple backups
 
98
.PP
 
99
Using \fB\-s\fR ignores \fB\-L\fR and \fB\-P\fR.  Otherwise, the last option specified controls
 
100
behavior when a TARGET is a symbolic link, defaulting to \fB\-P\fR.
97
101
.SH AUTHOR
98
102
Written by Mike Parker and David MacKenzie.
99
103
.SH "REPORTING BUGS"
105
109
.br
106
110
Report ln translation bugs to <http://translationproject.org/team/>
107
111
.SH COPYRIGHT
108
 
Copyright \(co 2011 Free Software Foundation, Inc.
 
112
Copyright \(co 2012 Free Software Foundation, Inc.
109
113
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
110
114
.br
111
115
This is free software: you are free to change and redistribute it.