aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/grep-inst.xml2
-rw-r--r--chapter06/shellutils-inst.xml7
-rw-r--r--chapter06/textutils-inst.xml2
3 files changed, 6 insertions, 5 deletions
diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml
index 7620afcd5..17885b7f5 100644
--- a/chapter06/grep-inst.xml
+++ b/chapter06/grep-inst.xml
@@ -3,7 +3,7 @@
<para>Install Grep by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+<para><screen><userinput>./configure --prefix=/usr --bindir=/bin &amp;&amp;
make &amp;&amp;
make install</userinput></screen></para>
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml
index cd1f44b26..3003c052d 100644
--- a/chapter06/shellutils-inst.xml
+++ b/chapter06/shellutils-inst.xml
@@ -7,8 +7,8 @@
make &amp;&amp;
make install &amp;&amp;
cd /usr/bin &amp;&amp;
-mv date echo false pwd stty /bin &amp;&amp;
-mv su true uname hostname /bin &amp;&amp;
+mv basename date echo false hostname /bin &amp;&amp;
+mv pwd sleep stty su test true uname /bin &amp;&amp;
mv chroot ../sbin</userinput></screen></para>
</sect2>
@@ -23,7 +23,8 @@ are built into the bash interpreter, but the FHS dictates that there should be a
<filename>[</filename> binary. We create that in this way, while still in the
<filename>/usr/bin</filename> directory:</para>
-<para><screen><userinput>ln -sf test [</userinput></screen></para>
+<para><screen><userinput>cd /bin &amp;&amp;
+ln -sf test [</userinput></screen></para>
</sect2>
diff --git a/chapter06/textutils-inst.xml b/chapter06/textutils-inst.xml
index 43088ac18..2b62f220a 100644
--- a/chapter06/textutils-inst.xml
+++ b/chapter06/textutils-inst.xml
@@ -6,7 +6,7 @@
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
-mv /usr/bin/cat /bin</userinput></screen></para>
+mv /usr/bin/cat /usr/bin/head /bin</userinput></screen></para>
</sect2>