Sponsored Content
Full Discussion: question about domainname
Top Forums UNIX for Dummies Questions & Answers question about domainname Post 14215 by thehoghunter on Tuesday 29th of January 2002 11:18:53 AM
Old 01-29-2002
Just doing the command domainname yourname.com
will not place it into /etc/defaultdomain (on Solaris at least).
thehoghunter
 

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(8)						      System Manager's Manual						     domainname(8)

NAME
domainname - set or display name of current domain nisdomainname - set or display name of current NIS(YP) domain ypdomainname - set or display name of current NIS(YP) domain SYNOPSIS
domainname [ domain ] nisdomainname [ domain ] ypdomainname [ domain ] DESCRIPTION
Without an argument, domainname displays the name of the current NIS domainname of the system. domainname uses the getdomainname(2) function for getting the domainname, nisdomainname and ypdomainname are using yp_get_default_domain(3). Only the super-user can set the name of the domain by specifying the new domain as an argument. All three programs uses setdomainname(2) for this. Bear in mind, that already running programs may continue to use the old domainname. SEE ALSO
getdomainname(2), setdomainname(2), yp_get_default_domain(3), ypbind(8), ypcat(1), ypmatch(1), ypwhich(1), yppoll(8), ypserv(8), ypset(8) AUTHOR
domainname is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>. YP Tools 2.12 April 2010 domainname(8)
All times are GMT -4. The time now is 08:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy