diff options
Diffstat (limited to 'chapter06/shellutils-inst.xml')
-rw-r--r-- | chapter06/shellutils-inst.xml | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml index 4e24c3af6..7b0ac4122 100644 --- a/chapter06/shellutils-inst.xml +++ b/chapter06/shellutils-inst.xml @@ -1,40 +1,28 @@ <sect2> <title>Installation of Sh-utils</title> -<para> -Install Shellutils by running the following commands: -</para> +<para>Install Shellutils by running the following commands:</para> -<para> -<screen> -<userinput>./configure --prefix=/usr &&</userinput> +<para><screen><userinput>./configure --prefix=/usr &&</userinput> <userinput>make &&</userinput> <userinput>make install &&</userinput> <userinput>cd /usr/bin &&</userinput> <userinput>mv date echo false pwd stty /bin &&</userinput> -<userinput>mv su true uname hostname /bin</userinput> -</screen> -</para> +<userinput>mv su true uname hostname /bin</userinput></screen></para> </sect2> <sect2> <title>FHS compliance notes</title> -<para> -There is a command installed in this package which is named test. It is often -used in shell scripts to evaluate conditions, but is more often encountered -in the form of <command>[ condition ]</command>. These brackets are built into -the bash interpreter, but the FHS dictates that there should be a +<para>There is a command installed in this package which is named test. It is +often used in shell scripts to evaluate conditions, but is more often +encountered in the form of <command>[ condition ]</command>. These brackets +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 -s test [</userinput> -</screen> -</para> +<filename>/usr/bin</filename> directory:</para> + +<para><screen><userinput>ln -s test [</userinput></screen></para> </sect2> |