aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/createfiles.xml
blob: 47ccefb9046eaf680e700a3d6e1511ded9f495cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<sect1 id="ch06-createfiles">
<title>Creating the bash and sh symlinks</title>
<?dbhtml filename="createfiles.html" dir="chapter06"?>

<para>Some programs hard-wire paths to programs which don't exist yet. In
order to satisfy these programs, we create the symbolic links
<filename>/bin/bash</filename> and <filename>/bin/sh</filename>, both
pointing to the static <filename>bash</filename> program.</para>

<para>Create the <filename>/bin/bash</filename> and <filename>/bin/sh</filename>
symlinks by running the following commands:</para>

<para><screen><userinput>ln -s /static/bin/bash /bin/bash &amp;&amp;
ln -s bash /bin/sh</userinput></screen></para>

</sect1>