| 123456789101112131415161718192021222324252627 | <sect2><title>Installation of Sh-utils</title><para>Install Sh-utils by running the following commands:</para><para><screen><userinput>./configure --prefix=/usr &&make &&make install &&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><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<filename>[</filename> binary. Create it by running:</para><para><screen><userinput>ln -s test /bin/[</userinput></screen></para></sect2>
 |