2002-05-25 01:21:12 +01:00
|
|
|
<sect1 id="ch06-createfiles">
|
2002-09-02 16:46:18 +01:00
|
|
|
<title>Creating the bash and sh symlinks</title>
|
2002-05-25 01:21:12 +01:00
|
|
|
<?dbhtml filename="createfiles.html" dir="chapter06"?>
|
|
|
|
|
2002-09-02 16:46:18 +01:00
|
|
|
<para>Some programs hard-wire paths to programs which don't exist yet. In
|
2002-09-08 22:54:14 +01:00
|
|
|
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>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
2002-09-08 22:54:14 +01:00
|
|
|
<para>Create the <filename>/bin/bash</filename> and <filename>/bin/sh</filename>
|
|
|
|
symlinks by running the following commands:</para>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
2002-09-02 16:46:18 +01:00
|
|
|
<para><screen><userinput>ln -s /static/bin/bash /bin/bash &&
|
|
|
|
ln -s bash /bin/sh</userinput></screen></para>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|