| 12345678910111213141516171819202122232425262728293031323334353637383940 | <sect2><title>Installation of Sh-utils</title><para>Install Shellutils by running the following commands:</para><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></sect2><sect2><title>FHS compliance notes</title><para>There is a command installed in this package which is named test. It is oftenused in shell scripts to evaluate conditions, but is more often encounteredin the form of <command>[ condition ]</command>. These brackets are built intothe 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></sect2>
 |