hostname.exe

Seite 1 von 1 - Forum: Windows auf overclockers.at

URL: https://www.overclockers.at/windows/hostname_exe_137704/page_1 - zur Vollversion wechseln!


bBU.CyTrobIc schrieb am 25.02.2005 um 19:44

jo moin

die datei hostname.exe gibts bei NT4 / 2000 / XP, aber gabs die auch bei 95 / 98 / ME ?

Zudem wollt ich mal wissen obs einen ähnlichen / wenn nicht den gleichen Befehl auch unter Linux gibt ?

thx euch


Frys_Assassin schrieb am 25.02.2005 um 19:52

ja unter linux gibts auch "hostname" :)


bBU.CyTrobIc schrieb am 25.02.2005 um 20:10

und gibts da ne andere syntax ? oder auch nur hostname in die console und er gibt den hostnamen zurück ?


spunz schrieb am 25.02.2005 um 20:18

Code:
hspunz@wsg7:~$ hostname --help
Usage: hostname [-v] {hostname|-F file}      set host name (from file)
       domainname [-v] {nisdomain|-F file}   set NIS domain name (from file)
       hostname [-v] [-d|-f|-s|-a|-i|-y]     display formated name
       hostname [-v]                         display host name

       hostname -V|--version|-h|--help       print info and exit

    dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y

    -s, --short           short host name
    -a, --alias           alias names
    -i, --ip-address      addresses for the host name
    -f, --fqdn, --long    long host name (FQDN)
    -d, --domain          DNS domain name
    -y, --yp, --nis       NIS/YP domain name
    -F, --file            read host name or NIS domain name from given file

   This command can get or set the host name or the NIS domain name. You can
   also get the DNS domain or the FQDN (fully qualified domain name).
   Unless you are using bind or NIS for host lookups you can change the
   FQDN (Fully Qualified Domain Name) and the DNS domain name (which is
   part of the FQDN) in the /etc/hosts file.
spunz@wsg7:~$


bBU.CyTrobIc schrieb am 25.02.2005 um 23:51

dank dir spunz




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025