📜  grep --color 'string' filename bash find words - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:05.438000             🧑  作者: Mango

代码示例1
grep 'word' filename
grep 'word' file1 file2 file3
grep 'string1 string2'  filename
cat otherfile | grep 'something'
command | grep 'something'
command option1 | grep 'data'
grep --color 'data' fileName