下面是我的输入文件,
Server: 172.16.249.150
Address: 172.16.249.150#53
Non-authoritative answer:
cloud-us-east.digital-element.net canonical name = usa.cloud.netacuity.com.
usa.cloud.netacuity.com canonical name = us-east.cloud.netacuity.com.
us-east.cloud.netacuity.com canonical name = de-prod-nacs.elasticbeanstalk.com.
de-prod-nacs.elasticbeanstalk.com canonical name = awseb-prod-nacs-397853066.us-east-1.elb.amazonaws.com.
Name: awseb-prod-nacs-397853066.us-east-1.elb.amazonaws.com
Address: 54.243.94.244
Name: awseb-prod-nacs-397853066.us-east-1.elb.amazonaws.com
Address: 54.243.113.63
我想要一个像下面这样的输出,54.243.94.244 54.243.113.63
只有最后两个IP地址,
输入文件将来可能会有所不同,最后可能有很多IP地址。所以我需要单独排除第一个ip。如何实现这个unix?请提出一些命令。提前致谢。