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