This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
domainname
===
显示和设置系统的NIS域名
## 补充说明
**domainname命令** 用于显示和设置系统的NIS域名。
### 语法
```
domainname(选项)(参数)
### 选项
-v:详细信息模式;
-F:指定读取域名信息的文件。
### 参数
NIS域名:指定要设置的NIS域名。
### 实例
[root@AY1307311912260196fcZ ~]# domainname -v
getdomainname()=`(none)'
(none)
[root@AY1307311912260196fcZ ~]# domainname
www.jsdig.com
getdomainname()=`www.jsdig.com'
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->