Typographical conventions

When illustrating the contents of a file or a fragment from a file a different font is used. The following example demonstrates this:

#!/bin/bash
#  A simple script
echo "Hello, world!"

At various points, the output seen in a terminal session is given. This, too, uses a different font and has a slightly different appearance to a file contents. For example:

paul@pythia:~$ chmod 755 hello-world.sh
paul@pythia:~$ ./hello-world.sh
Hello, world!

Sometimes these handouts include some additional information. These are additional notes or warnings.

Note

This is a note. It has additional information that may be useful to know but which is somewhat tangential.

Caution

This is a cautionary note. It indicates important information for future reference. Failure to follow the provided instructions may lead to unexpected behaviour.

Warning

This is a warning section. It indicates important information that should be followed before proceeding.