linux 网络操作 局域网通过hostname查询ip nmblookup hostname 局域网通过ip查询hostname nmblookup -A 【ip】 永久修改hostname 需要修改两个文件中的hostname /etc/hostname /etc/hosts