- 论坛徽章:
- 0
|
想把以下文件内容:
$cat test.txt 1 ↵
Nmap scan report for 192.168.31.1
Nmap scan report for 192.168.31.2
MAC Address: 64:09:80:59:FD:97 (Xiaomi Electronics,co.)
Nmap scan report for 192.168.31.119
MAC Address: 60:F8:1D:AF:BD:80 (Apple)
Nmap scan report for 192.168.31.182
MAC Address: B4:43:0D:30:82:FD (Broadlink)
Nmap scan report for 192.168.31.211
MAC Address: 28 9:8A:00:CB:81 (Hangzhou Konke Technology Co.)
Nmap scan report for 192.168.31.246
MAC Address: 04:E6:76:87 1:A8 (Ampak Technology)
Nmap scan report for 192.168.31.239
Nmap scan report for 192.168.31.238
过滤成:
192.168.31.1
192.168.31.2 (Xiaomi Electronics,co.)
192.168.31.119 (Apple)
192.168.31.182 (Broadlink)
192.168.31.211 (Hangzhou Konke Technology Co.)
192.168.31.246 (Ampak Technology)
192.168.31.239
192.168.31.238
求sed过滤命令,谢谢
|
|