我有一个.gnmap文件,其中包含如下行:
.gnmap
Host: x.x.x.x () Ports: PORT/open/tcp//PROTOCOL//SERVICE/
我想 grep 为"/open/tcp//at_least_one_character//at_least_one_character/"
"/open/tcp//at_least_one_character//at_least_one_character/"
我尝试使用grep "/open/tcp//[a-zA-Z]//[a-zA-Z]//",但它没有返回任何内容。
grep "/open/tcp//[a-zA-Z]//[a-zA-Z]//"
我该如何纠正grep以上问题?
grep
谢谢。
grep ×1