diff options
Diffstat (limited to 'chapter06/shellutils-inst.xml')
-rw-r--r-- | chapter06/shellutils-inst.xml | 10 |
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 && make && make install && -cd /usr/bin && -mv basename date echo false hostname /bin && -mv pwd sleep stty su test true uname /bin && -mv chroot ../sbin</userinput></screen></para> +mv /usr/bin/{basename,date,echo,false,hostname} /bin && +mv /usr/bin/{pwd,sleep,stty,su,test,true,uname} /bin && +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 && -ln -sf test [</userinput></screen></para> +<para><screen><userinput>ln -sf test /bin/[</userinput></screen></para> </sect2> |