2 <title>Installation of Sh-utils</title>
4 <para>Install Shellutils by running the following commands:</para>
6 <para><screen><userinput>./configure --prefix=/usr &&
8 make install &&
10 mv basename date echo false hostname /bin &&
11 mv pwd sleep stty su test true uname /bin &&
12 mv chroot ../sbin</userinput></screen></para>
17 <title>FHS compliance notes</title>
19 <para>There is a command installed in this package which is named test. It is
20 often used in shell scripts to evaluate conditions, but is more often
21 encountered in the form of <command>[ condition ]</command>. These brackets
22 are built into the bash interpreter, but the FHS dictates that there should be a
23 <filename>[</filename> binary. We create that in this way, while still in the
24 <filename class="directory">/bin</filename> directory:</para>
26 <para><screen><userinput>cd /bin &&
27 ln -sf test [</userinput></screen></para>