linux上抓包 使用tcpdump命令。 使用tcpdump -help查看其用法。 -i eth0:在第一块网卡上进行抓包。 -w filename.cap:将抓的保存到当前目录下的filename.cap文件中,没有该文件会自动创建。