You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
552 B

This file contains ambiguous Unicode characters!

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
[root@AY1307311912260196fcZ ~]# domainname -v
getdomainname()=`www.jsdig.com'
www.jsdig.com
```