aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/shellutils-inst.xml
diff options
context:
space:
mode:
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>