sbase/ln.1

37 lines
696 B
Groff
Raw Normal View History

2011-05-24 12:00:30 +00:00
.TH LN 1 sbase\-VERSION
.SH NAME
ln \- make links between files
.SH SYNOPSIS
.B ln
.RB [ \-LPfs ]
2011-05-24 12:00:30 +00:00
.I file
.RI [ name ]
.P
.B ln
.RB [ \-LPfs ]
2011-05-25 10:00:15 +00:00
.RI [ file ...]
2011-05-24 12:00:30 +00:00
.RI [ directory ]
.SH DESCRIPTION
.B ln
creates a hard link to a given file, with the given name. If no name is given
it is linked into the current directory. If multiple files are listed they will
be linked into the given directory.
.SH OPTIONS
.TP
.B \-L
create links to the files referenced by symbolic link source files (default
behavior).
.TP
.B \-P
create links to symbolic link source files themselves.
.TP
2011-06-04 01:56:18 +00:00
.B \-f
remove existing destinations.
.TP
2011-05-24 12:00:30 +00:00
.B \-s
2011-05-28 14:37:42 +00:00
create a symlink.
2011-05-25 17:29:46 +00:00
.SH SEE ALSO
.IR cp (1),
.IR link (2),
.IR symlink (2)