nisdomainname命令用于显示主机NIS的域名,下面良许教程网为大家分享一下Linux常用命令nisdomainname命令具体使用方法。
命令格式
用法:nisdomainname [选项] [参数]
常用选项
Program options: -a, --alias alias names -A, --all-fqdns all long host names (FQDNs) -b, --boot set default hostname if none available -d, --domain DNS domain name -f, --fqdn, --long long host name (FQDN) -F, --file read host name or NIS domain name from given file -i, --ip-address addresses for the host name -I, --all-ip-addresses all addresses for the host -s, --short short host name -y, --yp, --nis NIS/YP domain name
参考示例
显示主机NIS的域名
[root@localhost ~]# nisdomainname deng [root@localhost ~]#
设置主机NIS的域名
[root@localhost ~]# nisdomainname deng [root@localhost ~]#
至此关于Linux常用命令nisdomainname命令的使用方法分享结束,大家如果对nisdomainname命令的使用方法还有问题可以通过评论区将问题提交我们。
以上就是
为各位朋友分享的 相关内容。想要了解更多Linux相关知识记得关注公众号“良许Linux”,或扫描下方二维码进行关注,更多 等着你 !