In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "We can use formatted strings with
A block of code is set as follows:
#!/bin/bash #Filename: printf.sh printf "%-5s %-10s %-4s\n" No Name Mark printf "%-5s %-10s %-4.2f\n" 1 Sarath 80.3456 printf "%-5s %-10s %-4.2f\n" 2 James 90.9989 printf "%-5s %-10s %-4.2f\n" 3 Jeff 77.564
Any command-line input or output is written as follows:
$ chmod +s executable_file # chown root.root executable_file # chmod +s executable_file $ ./executable_file
Warnings or important notes appear in a box like this.