diff options
-rw-r--r-- | chapter06/shellutils-inst.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml index 2f7c802eb..27d29ea4f 100644 --- a/chapter06/shellutils-inst.xml +++ b/chapter06/shellutils-inst.xml @@ -16,3 +16,21 @@ Install Shellutils by running the following commands: </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 if more often encountered +under the form <command>[ condition ]</command>. These brackets are built into +the bash interpreter, but the FHS dictates that there should exist a +<filename>[</filename> binary. We create that in this way, while still in the +<filename>/usr/bin</filename> directory: +</para> + +<blockquote><literallayout> + <userinput>ln -s test [</userinput> +</literallayout></blockquote> + +</sect2> + |