参考:https://blog.csdn.net/cwj649956781/article/details/8644908
- arp
- nmblookup -A 192.168.1.118
- nbtscan 192.168.1.118
- gethostbyname()
gethostbyaddr() - ping
- ifconfig . /etc/hosts /etc/host.conf
参考:https://blog.csdn.net/cwj649956781/article/details/8644908
本文标题:linux查看局域网中的主机名或者ip的命令和函数
本文链接:https://www.haomeiwen.com/subject/nezzeftx.html
网友评论