grep "cai" test --color -i
egrep "xiao|liang" test --color -i
grep "xiao|liang" test --color -i -E
grep "k$" test --color -i
grep "^f" test --color -i
grep "c.i.." test --color -i
--color:以顏色標記出來
-i:不區別大小寫
-E:匹配多個
^:行開頭
$:行結尾
^$:空白行
.:一個字符除了換行符
*:它前面的字符出現0次或多次
+:它前面的字符最少出現1次