]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man8/sln.8
Various pages: [Linux-man-pages-copyleft] Use SPDX-License-Identifier
[thirdparty/man-pages.git] / man8 / sln.8
CommitLineData
ec14b270
MK
1.\" Copyright (c) 2013 by Michael Kerrisk <mtk.manpages@gmail.com>
2.\"
5fbde956 3.\" SPDX-License-Identifier: Linux-man-pages-copyleft
ec14b270 4.\"
1d767b55 5.TH SLN 8 2021-03-22 "GNU" "Linux Programmer's Manual"
ec14b270
MK
6.SH NAME
7sln \- create symbolic links
8.SH SYNOPSIS
c7db92b9 9.nf
ec14b270
MK
10.BI sln " source dest"
11.BI sln " filelist"
c7db92b9 12.fi
ec14b270
MK
13.SH DESCRIPTION
14The
15.B sln
16program creates symbolic links.
17Unlike the
18.BR ln (1)
19program, it is statically linked.
20This means that if for some reason the dynamic linker is not working,
21.BR sln
22can be used to make symbolic links to dynamic libraries.
2a86152e 23.PP
42a12f98 24The command line has two forms.
ec14b270
MK
25In the first form, it creates
26.I dest
27as a new symbolic link to
4f6860b5 28.IR source .
2a86152e 29.PP
ec14b270
MK
30In the second form,
31.I filelist
32is a list of space-separated pathname pairs,
33and the effect is as if
34.BR sln
35was executed once for each line of the file,
36with the two pathnames as the arguments.
2a86152e 37.PP
ec14b270
MK
38The
39.B sln
40program supports no command-line options.
41.SH SEE ALSO
42.BR ln (1),
a3cb0a57
MK
43.BR ld.so (8),
44.BR ldconfig (8)