官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "In the output, 4d3 tells us that line number 4 is deleted in file2. Similarly, the change command will show us changes in the file as well."

A block of code is set as follows:

#!/bin/bash
# This is comment line
echo "Hello World"
ls
date

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

$ expr 4 * 10
expr: syntax error
With command expr, we cannot use * for multiplication. We need to use \* for multiplication.
$ expr "4 * 10"
4 * 10
$ expr 4 \* 10
40

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

$ sed '1,3d' datafile > tempfile
$ awk -F: '/Marie/{print $1, $2}' people1.txt

New terms and important words are shown in bold.

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 交口县| 上栗县| 西吉县| 黄浦区| 武强县| 武清区| 二手房| 江油市| 泰宁县| 高碑店市| 龙里县| 巴塘县| 土默特右旗| 河间市| 电白县| 车险| 会同县| 阿鲁科尔沁旗| 大关县| 隆化县| 滨州市| 丘北县| 阿合奇县| 平潭县| 大渡口区| 香河县| 霍邱县| 荣成市| 平原县| 阳新县| 米易县| 钦州市| 革吉县| 玛多县| 灵台县| 尼木县| 河池市| 苍溪县| 玉环县| 秀山| 西青区|