Conventions used

There are a number of text conventions used throughout this book.

CodeInText: 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: "The full path is more concrete and hardcoded; the interpreter will try to use the complete path. For example, /bin/ls or /usr/local/bin/myBinary.."

A block of code is set as follows:

#!/bin/bashAGE=17if [ ${AGE} -lt 18 ]; then    echo "You must be 18 or older to see this movie"fi

Any command-line input or output is written as follows:

rbrash@moon:~$ history1002 ls1003 cd ../1004 pwd1005 whoami1006 history

Bold: Indicates a new term, an important word, or words that you see onscreen. ...

Get Bash Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.