Sponsored Content
Full Discussion: question about domainname
Top Forums UNIX for Dummies Questions & Answers question about domainname Post 14209 by dookeobih on Tuesday 29th of January 2002 11:01:35 AM
Old 01-29-2002
question about domainname

I'm kindda confused about domainname and /etc/defaultdomain.
If I type domainname tesT.com, will this be added to /etc/defaultdomain or do I need to add manually on /etc/defaultdomain as well?...second question, if I type domainname tesT.com...is it case sensitive?

Thank you.
 

8 More Discussions You Might Find Interesting

1. Linux

domainname command

Hey, I've been on this for a while... can somebody explain to me what the domainname command really does. The man pages don't tell enough. And how can i have the domain name set so it will be the same all the time when the OS boots up. (4 Replies)
Discussion started by: byblyk
4 Replies

2. UNIX for Dummies Questions & Answers

domainname dnsdomainname....etc ??

is there a variable that controls whether the settings of the domainname and dnsdomainame, nisdomaname and hostname are global or local (as in static).. i keep setting the values for these commands and after a while they disappear. how can I keep one static value that will remain even after I have... (7 Replies)
Discussion started by: moxxx68
7 Replies

3. Solaris

vi question

Im trying to edit a 113 meg file in VI and i get the error TMP FILE TOO LARGE. Does someone know how to get around this? Thanks! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

4. UNIX for Dummies Questions & Answers

mv question

Hello if I like to move file from defined directories system to new directory that not contained any directories system structure . But I like to create the same file system structure as source directory for example : I have 2 directories: foo1 and foo2 foo1 have directories and foo2 have... (2 Replies)
Discussion started by: umen
2 Replies

5. Shell Programming and Scripting

Question

For example res=`some command` elif ; What does this syntax mean? I mean exactly "Xvar" "Xval" (2 Replies)
Discussion started by: mirusnet
2 Replies

6. Shell Programming and Scripting

bc question

i'm trying to parse a file with lines like the below where i need to get a diff on the 169-182 so that the result is 13 for instance. I was looking into using bc but am not that familiar with embedding it in a script. john8:9. 169-182 any ideas are appreciated! (5 Replies)
Discussion started by: nlevens
5 Replies

7. UNIX for Dummies Questions & Answers

SU question

Hi all what the different and thanks in adv jiajin (2 Replies)
Discussion started by: lijiajin
2 Replies

8. IP Networking

ddns-rev-domainname being created wrong.

Greetings all, I have been battling with this problem for some time now, and I am not sure if I am just not seeing the obvious anymore or have made a stupid mistake, but I just can seem to get the reverse address in my network to run the right way. Short description of my network: I have a... (3 Replies)
Discussion started by: Adesso
3 Replies
domainname(1)						      General Commands Manual						     domainname(1)

NAME
domainname - set or display name of Network Information Service domain SYNOPSIS
[name_of_domain] DESCRIPTION
Network Information Service (NIS) uses domain names to refer collectively to a group of hosts. Without an argument, domainname displays the name of the NIS domain. Only superuser can set the domain name by providing name_of_domain. The domain name is usually set in the configuration file by setting the variable. The name_of_domain is normally a valid Internet domain name. DEPENDENCIES
NIS servers use the NIS domain name as the name of a subdirectory of Therefore, name_of_domain cannot be a or and it must not contain Since the NIS domain name can be as long as 64 characters, name_of_domain may exceed the maximum file name length allowed on a given file system. If that length is exceeded, the subdirectory name becomes a truncated version of the NIS domain name. The first 14 characters of all NIS domains on the network must be unique; truncated names should be checked to verify that they meet this requirement. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
ypinit(1M), getdomainname(2), setdomainname(2). domainname(1)
All times are GMT -4. The time now is 10:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy