Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “For example, the configuration file directory for the Apache HTTP server is /etc/httpd
on Red Hat Linux derivatives, but /etc/apache2
on Debian derivatives.”
A block of code is set as follows:
global_defs { notification_email { admin@example.com webmaster@example.com } notification_email_from keepalived@example.com smtp_server 203.0.113.100 smtp_connect_timeout 30 }
Any command-line input or output is written as follows:
$ echo '#!/bin/bash' >> hello.sh $ echo 'echo "hello world"' >> hello.sh $ chmod +x ./hello.sh $ ./hello.sh hello world
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “The other is Red Hat Package Manager (RPM), which is used with the rpm utility and is developed by Red Hat.”
Tips or important notes
Appear like this.