aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shellutils-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-02 20:15:02 +0000
commit3f12743405f4123463b57e0446bafdd398f2e598 (patch)
tree83da594bcaa934cf257c132e40768c79e4ebc98c /chapter06/shellutils-inst.xml
parent9ef087369ca769f8f3a4ff76f7dba91a0bc80678 (diff)
fix bugs #335 and #342 plus various touch ups, layout fixed (line wrapping mostly)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1864 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shellutils-inst.xml')
-rw-r--r--chapter06/shellutils-inst.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml
index 40fa49415..3e12be173 100644
--- a/chapter06/shellutils-inst.xml
+++ b/chapter06/shellutils-inst.xml
@@ -6,10 +6,9 @@
<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
-cd /usr/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>
+mv /usr/bin/{basename,date,echo,false,hostname} /bin &amp;&amp;
+mv /usr/bin/{pwd,sleep,stty,su,test,true,uname} /bin &amp;&amp;
+mv /usr/bin/chroot /usr/sbin</userinput></screen></para>
</sect2>
@@ -23,8 +22,7 @@ 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 class="directory">/bin</filename> directory:</para>
-<para><screen><userinput>cd /bin &amp;&amp;
-ln -sf test [</userinput></screen></para>
+<para><screen><userinput>ln -sf test /bin/[</userinput></screen></para>
</sect2>