可以精准匹配:
ps -ef | grep "\<InspectionState\>"
ps -ef | grep -w InspectionState
不可以精准匹配:
ps -ef | grep InspectionState

可以精准匹配:
ps -ef | grep "\<InspectionState\>"
ps -ef | grep -w InspectionState
不可以精准匹配:
ps -ef | grep InspectionState

4374
7577
7594

被折叠的 条评论
为什么被折叠?