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

7 years ago
domainname
===
显示和设置系统的NIS域名
6 years ago
## 说明
7 years ago
5 years ago
**domainname命令** 用于显示和设置系统的NIS域名
7 years ago
5 years ago
## 选项
7 years ago
```
domainname(选项)(参数)
```
6 years ago
7 years ago
```
5 years ago
-v详细信息模式
-F指定读取域名信息的文件
7 years ago
```
### 参数
5 years ago
NIS域名指定要设置的NIS域名
7 years ago
5 years ago
## 实例
7 years ago
```
[root@AY1307311912260196fcZ ~]# domainname -v
getdomainname()=`(none)'
(none)
[root@AY1307311912260196fcZ ~]# domainname
www.jsdig.com
[root@AY1307311912260196fcZ ~]# domainname -v
getdomainname()=`www.jsdig.com'
www.jsdig.com
```