Site icon mintrabbitplus

Linux grep 指令快速使用

使用grep 找尋相同字串時,可以使用下列指令方式:

其中xxx 為找尋的字串。

grep -rni --color=always --include="*.c" "xxx" .

Exit mobile version