mount_namespaces.7: wfix
[man-pages.git] / man8 / sln.8
blob341cf9afb0e6610f3bf661180bfb458bfeb04f32
1 .\" Copyright (c) 2013 by Michael Kerrisk <mtk.manpages@gmail.com>
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .TH SLN 8 2021-03-22 "GNU" "Linux Programmer's Manual"
26 .SH NAME
27 sln \- create symbolic links
28 .SH SYNOPSIS
29 .nf
30 .BI sln " source dest"
31 .BI sln " filelist"
32 .fi
33 .SH DESCRIPTION
34 The
35 .B sln
36 program creates symbolic links.
37 Unlike the
38 .BR ln (1)
39 program, it is statically linked.
40 This means that if for some reason the dynamic linker is not working,
41 .BR sln
42 can be used to make symbolic links to dynamic libraries.
43 .PP
44 The command line has two forms.
45 In the first form, it creates
46 .I dest
47 as a new symbolic link to
48 .IR source .
49 .PP
50 In the second form,
51 .I filelist
52 is a list of space-separated pathname pairs,
53 and the effect is as if
54 .BR sln
55 was executed once for each line of the file,
56 with the two pathnames as the arguments.
57 .PP
58 The
59 .B sln
60 program supports no command-line options.
61 .SH SEE ALSO
62 .BR ln (1),
63 .BR ld.so (8),
64 .BR ldconfig (8)