<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>iTechLog &#187; HOSTNAME</title>
	<atom:link href="http://itechlog.com/tag/hostname/feed/" rel="self" type="application/rss+xml" />
	<link>http://itechlog.com</link>
	<description>Your source to IT solutions, interesting technology news and code snipets.</description>
	<lastBuildDate>Tue, 10 Jan 2012 17:06:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>HOSTNAME</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/hostname/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/hostname/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 17:20:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[HOSTNAME]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/hostname/</guid>
		<description><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname/" title="HOSTNAME"></a>HOSTNAME(1) Linux Programmer&#8217;s Manual HOSTNAME(1) NAME hostname &#8211; show or set the system&#8217;s host name domainname &#8211; show or set the system&#8217;s NIS/YP domain name dnsdomainname &#8211; show the system&#8217;s DNS domain name nodename &#8211; show or set the system&#8217;s &#8230;<p class="read-more"><a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname/" title="HOSTNAME"></a><p>HOSTNAME(1)                Linux Programmer&#8217;s Manual               HOSTNAME(1)</p>
<p>NAME<br />       hostname &#8211; show or set the system&#8217;s host name<br />       domainname &#8211; show or set the system&#8217;s NIS/YP domain name<br />       dnsdomainname &#8211; show the system&#8217;s DNS domain name<br />       nodename &#8211; show or set the system&#8217;s DECnet node name</p>
<p>SYNOPSIS<br />       hostname  [-v] [-a] [--alias] [-d] [--domain] [-f] [--fqdn] [-i] [--ip-<br />       address] [--long] [-s] [--short] [-y] [-n] [--node]</p>
<p>       hostname [-v] [-F filename] [--file filename] [hostname]</p>
<p>       domainname [-v] [-F filename] [--file filename] [name]</p>
<p>       nodename [-v] [-F filename] [--file filename] [name]</p>
<p>       hostname [-v] [-h] [--help] [-V] [--version]</p>
<p>       dnsdomainname [-v]</p>
<p>DESCRIPTION<br />       Hostname is the program that is used to either set or display the  cur-<br />       rent  host, domain or node name of the system.  These names are used by<br />       many of the networking programs to identify  the  machine.  The  domain<br />       name is also used by NIS/YP.</p>
<p>   GET NAME<br />       When  called  without  any  arguments, the program displays the current<br />       names:</p>
<p>       hostname will print the name of the system as returned by the  gethost-<br />       name(2) function.</p>
<p>       nodename  will  print the DECnet node name of the system as returned by<br />       the getnodename(2) function.</p>
<p>       dnsdomainname will print the domain part of the FQDN  (Fully  Qualified<br />       Domain Name). The complete FQDN of the system is returned with hostname<br />       &#8211;fqdn.</p>
<p>       The function gethostname(2) is used to get the hostname.  Only when the<br />       hostname  -s is called will gethostbyname(3) be called.  The difference<br />       in gethostname(2) and gethostbyname(3) is that gethostbyname(3) is net-<br />       work  aware,  so  it  consults /etc/nsswitch.conf and /etc/host.conf to<br />       decide  whether  to  read  information  in  /etc/sysconfig/network   or<br />       /etc/hosts  the  hostname  is  also  set  when the network interface is<br />       brought up.</p>
<p>   SET NAME<br />       When called with one argument or with the &#8211;file option,  the  commands<br />       set the host name, the NIS/YP domain name or the node name.</p>
<p>       Note, that only the super-user can change the names.</p>
<p>       It is not possible to set the FQDN or the DNS domain name with the dns-<br />       domainname command (see THE FQDN below).</p>
<p>       The  host  name  is   usually   set   once   at   system   startup   in<br />       /etc/rc.d/rc.inet1  or  /etc/init.d/boot  (normally by reading the con-<br />       tents of a file which contains the host name, e.g.  /etc/hostname).</p>
<p>   THE FQDN<br />       You can&#8217;t change the FQDN (as returned by hostname &#8211;fqdn) or  the  DNS<br />       domain  name (as returned by dnsdomainname) with this command. The FQDN<br />       of the system is the name that the resolver(3)  returns  for  the  host<br />       name.</p>
<p>       Technically: The FQDN is the name gethostbyname(2) returns for the host<br />       name returned by gethostname(2).  The DNS domain name is the part after<br />       the first dot.</p>
<p>       Therefore  it  depends on the configuration (usually in /etc/host.conf)<br />       how you can change it. Usually (if the hosts file is parsed before  DNS<br />       or NIS) you can change it in /etc/hosts.</p>
<p>OPTIONS<br />       -a, &#8211;alias<br />              Display the alias name of the host (if used).</p>
<p>       -d, &#8211;domain<br />              Display  the  name  of  the  DNS  domain.  Don&#8217;t use the command<br />              domainname to get the DNS domain name because it will  show  the<br />              NIS  domain  name and not the DNS domain name. Use dnsdomainname<br />              instead.</p>
<p>       -F, &#8211;file filename<br />              Read the host name from  the  specified  file.  Comments  (lines<br />              starting with a `#&#8217;) are ignored.</p>
<p>       -f, &#8211;fqdn, &#8211;long<br />              Display  the FQDN (Fully Qualified Domain Name). A FQDN consists<br />              of a short host name and the DNS domain  name.  Unless  you  are<br />              using  bind  or NIS for host lookups you can change the FQDN and<br />              the DNS  domain  name  (which  is  part  of  the  FQDN)  in  the<br />              /etc/hosts file.</p>
<p>       -h, &#8211;help<br />              Print a usage message and exit.</p>
<p>       -i, &#8211;ip-address<br />              Display the IP address(es) of the host.</p>
<p>       -n, &#8211;node<br />              Display the DECnet node name. If a parameter is given (or &#8211;file<br />              name ) the root can also set a new node name.</p>
<p>       -s, &#8211;short<br />              Display the short host name. This is the host name  cut  at  the<br />              first dot.</p>
<p>       -V, &#8211;version<br />              Print  version  information on standard output and exit success-<br />              fully.</p>
<p>       -v, &#8211;verbose<br />              Be verbose and tell what&#8217;s going on.</p>
<p>FILES<br />       /etc/hosts</p>
<p>AUTHOR<br />       Peter Tobias, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=tobias@et-inf.fho-emden.de'); return false;" href="mailto:tobias@et-inf.fho-emden.de">tobias@et-inf.fho-emden.de</a>&gt;<br />       Bernd Eckenfels, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=net-tools@lina.inka.de'); return false;" href="mailto:net-tools@lina.inka.de">net-tools@lina.inka.de</a>&gt; (NIS and manpage).<br />       Steve Whitehouse, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=SteveW@ACM.org'); return false;" href="mailto:SteveW@ACM.org">SteveW@ACM.org</a>&gt; (DECnet support and manpage).</p>
<p>net-tools                         28 Jan 1996                      HOSTNAME(1)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=580668ee-731d-40d7-aa7e-032e62bb7d44" /></div>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/HOSTNAME' rel='tag' target='_self'>HOSTNAME</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/" title="HOSTNAME">HOSTNAME</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/" title="HOSTNAME">HOSTNAME</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/hostname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOSTNAME</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 17:20:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[HOSTNAME]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/</guid>
		<description><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/" title="HOSTNAME"></a>HOSTNAME(1) Linux Programmer&#8217;s Manual HOSTNAME(1) NAME hostname &#8211; show or set the system&#8217;s host name domainname &#8211; show or set the system&#8217;s NIS/YP domain name dnsdomainname &#8211; show the system&#8217;s DNS domain name nodename &#8211; show or set the system&#8217;s &#8230;<p class="read-more"><a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/" title="HOSTNAME"></a><p>HOSTNAME(1)                Linux Programmer&#8217;s Manual               HOSTNAME(1)</p>
<p>NAME<br />       hostname &#8211; show or set the system&#8217;s host name<br />       domainname &#8211; show or set the system&#8217;s NIS/YP domain name<br />       dnsdomainname &#8211; show the system&#8217;s DNS domain name<br />       nodename &#8211; show or set the system&#8217;s DECnet node name</p>
<p>SYNOPSIS<br />       hostname  [-v] [-a] [--alias] [-d] [--domain] [-f] [--fqdn] [-i] [--ip-<br />       address] [--long] [-s] [--short] [-y] [-n] [--node]</p>
<p>       hostname [-v] [-F filename] [--file filename] [hostname]</p>
<p>       domainname [-v] [-F filename] [--file filename] [name]</p>
<p>       nodename [-v] [-F filename] [--file filename] [name]</p>
<p>       hostname [-v] [-h] [--help] [-V] [--version]</p>
<p>       dnsdomainname [-v]</p>
<p>DESCRIPTION<br />       Hostname is the program that is used to either set or display the  cur-<br />       rent  host, domain or node name of the system.  These names are used by<br />       many of the networking programs to identify  the  machine.  The  domain<br />       name is also used by NIS/YP.</p>
<p>   GET NAME<br />       When  called  without  any  arguments, the program displays the current<br />       names:</p>
<p>       hostname will print the name of the system as returned by the  gethost-<br />       name(2) function.</p>
<p>       nodename  will  print the DECnet node name of the system as returned by<br />       the getnodename(2) function.</p>
<p>       dnsdomainname will print the domain part of the FQDN  (Fully  Qualified<br />       Domain Name). The complete FQDN of the system is returned with hostname<br />       &#8211;fqdn.</p>
<p>       The function gethostname(2) is used to get the hostname.  Only when the<br />       hostname  -s is called will gethostbyname(3) be called.  The difference<br />       in gethostname(2) and gethostbyname(3) is that gethostbyname(3) is net-<br />       work  aware,  so  it  consults /etc/nsswitch.conf and /etc/host.conf to<br />       decide  whether  to  read  information  in  /etc/sysconfig/network   or<br />       /etc/hosts  the  hostname  is  also  set  when the network interface is<br />       brought up.</p>
<p>   SET NAME<br />       When called with one argument or with the &#8211;file option,  the  commands<br />       set the host name, the NIS/YP domain name or the node name.</p>
<p>       Note, that only the super-user can change the names.</p>
<p>       It is not possible to set the FQDN or the DNS domain name with the dns-<br />       domainname command (see THE FQDN below).</p>
<p>       The  host  name  is   usually   set   once   at   system   startup   in<br />       /etc/rc.d/rc.inet1  or  /etc/init.d/boot  (normally by reading the con-<br />       tents of a file which contains the host name, e.g.  /etc/hostname).</p>
<p>   THE FQDN<br />       You can&#8217;t change the FQDN (as returned by hostname &#8211;fqdn) or  the  DNS<br />       domain  name (as returned by dnsdomainname) with this command. The FQDN<br />       of the system is the name that the resolver(3)  returns  for  the  host<br />       name.</p>
<p>       Technically: The FQDN is the name gethostbyname(2) returns for the host<br />       name returned by gethostname(2).  The DNS domain name is the part after<br />       the first dot.</p>
<p>       Therefore  it  depends on the configuration (usually in /etc/host.conf)<br />       how you can change it. Usually (if the hosts file is parsed before  DNS<br />       or NIS) you can change it in /etc/hosts.</p>
<p>OPTIONS<br />       -a, &#8211;alias<br />              Display the alias name of the host (if used).</p>
<p>       -d, &#8211;domain<br />              Display  the  name  of  the  DNS  domain.  Don&#8217;t use the command<br />              domainname to get the DNS domain name because it will  show  the<br />              NIS  domain  name and not the DNS domain name. Use dnsdomainname<br />              instead.</p>
<p>       -F, &#8211;file filename<br />              Read the host name from  the  specified  file.  Comments  (lines<br />              starting with a `#&#8217;) are ignored.</p>
<p>       -f, &#8211;fqdn, &#8211;long<br />              Display  the FQDN (Fully Qualified Domain Name). A FQDN consists<br />              of a short host name and the DNS domain  name.  Unless  you  are<br />              using  bind  or NIS for host lookups you can change the FQDN and<br />              the DNS  domain  name  (which  is  part  of  the  FQDN)  in  the<br />              /etc/hosts file.</p>
<p>       -h, &#8211;help<br />              Print a usage message and exit.</p>
<p>       -i, &#8211;ip-address<br />              Display the IP address(es) of the host.</p>
<p>       -n, &#8211;node<br />              Display the DECnet node name. If a parameter is given (or &#8211;file<br />              name ) the root can also set a new node name.</p>
<p>       -s, &#8211;short<br />              Display the short host name. This is the host name  cut  at  the<br />              first dot.</p>
<p>       -V, &#8211;version<br />              Print  version  information on standard output and exit success-<br />              fully.</p>
<p>       -v, &#8211;verbose<br />              Be verbose and tell what&#8217;s going on.</p>
<p>FILES<br />       /etc/hosts</p>
<p>AUTHOR<br />       Peter Tobias, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=tobias@et-inf.fho-emden.de'); return false;" href="mailto:tobias@et-inf.fho-emden.de">tobias@et-inf.fho-emden.de</a>&gt;<br />       Bernd Eckenfels, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=net-tools@lina.inka.de'); return false;" href="mailto:net-tools@lina.inka.de">net-tools@lina.inka.de</a>&gt; (NIS and manpage).<br />       Steve Whitehouse, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=SteveW@ACM.org'); return false;" href="mailto:SteveW@ACM.org">SteveW@ACM.org</a>&gt; (DECnet support and manpage).</p>
<p>net-tools                         28 Jan 1996                      HOSTNAME(1)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=b2268393-6b4b-47a5-afd7-eeebfa429ef3" /></div>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/HOSTNAME' rel='tag' target='_self'>HOSTNAME</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname/" title="HOSTNAME">HOSTNAME</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/" title="HOSTNAME">HOSTNAME</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOSTNAME</title>
		<link>http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/</link>
		<comments>http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 13:42:00 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Linux Man Pages]]></category>
		<category><![CDATA[HOSTNAME]]></category>

		<guid isPermaLink="false">http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/</guid>
		<description><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/" title="HOSTNAME"></a>HOSTNAME(1) Linux Programmer&#8217;s Manual HOSTNAME(1) NAME hostname &#8211; show or set the system&#8217;s host name domainname &#8211; show or set the system&#8217;s NIS/YP domain name dnsdomainname &#8211; show the system&#8217;s DNS domain name nodename &#8211; show or set the system&#8217;s &#8230;<p class="read-more"><a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/" title="HOSTNAME"></a><p>HOSTNAME(1)                Linux Programmer&#8217;s Manual               HOSTNAME(1)</p>
<p>NAME<br />       hostname &#8211; show or set the system&#8217;s host name<br />       domainname &#8211; show or set the system&#8217;s NIS/YP domain name<br />       dnsdomainname &#8211; show the system&#8217;s DNS domain name<br />       nodename &#8211; show or set the system&#8217;s DECnet node name</p>
<p>SYNOPSIS<br />       hostname  [-v] [-a] [--alias] [-d] [--domain] [-f] [--fqdn] [-i] [--ip-<br />       address] [--long] [-s] [--short] [-y] [-n] [--node]</p>
<p>       hostname [-v] [-F filename] [--file filename] [hostname]</p>
<p>       domainname [-v] [-F filename] [--file filename] [name]</p>
<p>       nodename [-v] [-F filename] [--file filename] [name]</p>
<p>       hostname [-v] [-h] [--help] [-V] [--version]</p>
<p>       dnsdomainname [-v]</p>
<p>DESCRIPTION<br />       Hostname is the program that is used to either set or display the  cur-<br />       rent  host, domain or node name of the system.  These names are used by<br />       many of the networking programs to identify  the  machine.  The  domain<br />       name is also used by NIS/YP.</p>
<p>   GET NAME<br />       When  called  without  any  arguments, the program displays the current<br />       names:</p>
<p>       hostname will print the name of the system as returned by the  gethost-<br />       name(2) function.</p>
<p>       nodename  will  print the DECnet node name of the system as returned by<br />       the getnodename(2) function.</p>
<p>       dnsdomainname will print the domain part of the FQDN  (Fully  Qualified<br />       Domain Name). The complete FQDN of the system is returned with hostname<br />       &#8211;fqdn.</p>
<p>       The function gethostname(2) is used to get the hostname.  Only when the<br />       hostname  -s is called will gethostbyname(3) be called.  The difference<br />       in gethostname(2) and gethostbyname(3) is that gethostbyname(3) is net-<br />       work  aware,  so  it  consults /etc/nsswitch.conf and /etc/host.conf to<br />       decide  whether  to  read  information  in  /etc/sysconfig/network   or<br />       /etc/hosts  the  hostname  is  also  set  when the network interface is<br />       brought up.</p>
<p>   SET NAME<br />       When called with one argument or with the &#8211;file option,  the  commands<br />       set the host name, the NIS/YP domain name or the node name.</p>
<p>       Note, that only the super-user can change the names.</p>
<p>       It is not possible to set the FQDN or the DNS domain name with the dns-<br />       domainname command (see THE FQDN below).</p>
<p>       The  host  name  is   usually   set   once   at   system   startup   in<br />       /etc/rc.d/rc.inet1  or  /etc/init.d/boot  (normally by reading the con-<br />       tents of a file which contains the host name, e.g.  /etc/hostname).</p>
<p>   THE FQDN<br />       You can&#8217;t change the FQDN (as returned by hostname &#8211;fqdn) or  the  DNS<br />       domain  name (as returned by dnsdomainname) with this command. The FQDN<br />       of the system is the name that the resolver(3)  returns  for  the  host<br />       name.</p>
<p>       Technically: The FQDN is the name gethostbyname(2) returns for the host<br />       name returned by gethostname(2).  The DNS domain name is the part after<br />       the first dot.</p>
<p>       Therefore  it  depends on the configuration (usually in /etc/host.conf)<br />       how you can change it. Usually (if the hosts file is parsed before  DNS<br />       or NIS) you can change it in /etc/hosts.</p>
<p>OPTIONS<br />       -a, &#8211;alias<br />              Display the alias name of the host (if used).</p>
<p>       -d, &#8211;domain<br />              Display  the  name  of  the  DNS  domain.  Don&#8217;t use the command<br />              domainname to get the DNS domain name because it will  show  the<br />              NIS  domain  name and not the DNS domain name. Use dnsdomainname<br />              instead.</p>
<p>       -F, &#8211;file filename<br />              Read the host name from  the  specified  file.  Comments  (lines<br />              starting with a `#&#8217;) are ignored.</p>
<p>       -f, &#8211;fqdn, &#8211;long<br />              Display  the FQDN (Fully Qualified Domain Name). A FQDN consists<br />              of a short host name and the DNS domain  name.  Unless  you  are<br />              using  bind  or NIS for host lookups you can change the FQDN and<br />              the DNS  domain  name  (which  is  part  of  the  FQDN)  in  the<br />              /etc/hosts file.</p>
<p>       -h, &#8211;help<br />              Print a usage message and exit.</p>
<p>       -i, &#8211;ip-address<br />              Display the IP address(es) of the host.</p>
<p>       -n, &#8211;node<br />              Display the DECnet node name. If a parameter is given (or &#8211;file<br />              name ) the root can also set a new node name.</p>
<p>       -s, &#8211;short<br />              Display the short host name. This is the host name  cut  at  the<br />              first dot.</p>
<p>       -V, &#8211;version<br />              Print  version  information on standard output and exit success-<br />              fully.</p>
<p>       -v, &#8211;verbose<br />              Be verbose and tell what&#8217;s going on.</p>
<p>FILES<br />       /etc/hosts</p>
<p>AUTHOR<br />       Peter Tobias, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=tobias@et-inf.fho-emden.de'); return false;" href="mailto:tobias@et-inf.fho-emden.de">tobias@et-inf.fho-emden.de</a>&gt;<br />       Bernd Eckenfels, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=net-tools@lina.inka.de'); return false;" href="mailto:net-tools@lina.inka.de">net-tools@lina.inka.de</a>&gt; (NIS and manpage).<br />       Steve Whitehouse, &lt;<a target="_blank" onclick="top.Popup.composeWindow('pcompose.php?sendto=SteveW@ACM.org'); return false;" href="mailto:SteveW@ACM.org">SteveW@ACM.org</a>&gt; (DECnet support and manpage).</p>
<p>net-tools                         28 Jan 1996                      HOSTNAME(1)</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=c7c70251-a6a1-4173-aea5-0ba206b8b358" /></div>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/HOSTNAME' rel='tag' target='_self'>HOSTNAME</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux+Man+Pages' rel='tag' target='_self'>Linux Man Pages</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname/" title="HOSTNAME">HOSTNAME</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/hostname-2/" title="HOSTNAME">HOSTNAME</a></li><li>January 4, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/04/sort/" title="SORT">SORT</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/mkdirhier/" title="MKDIRHIER">MKDIRHIER</a></li><li>January 1, 2009 -- <a href="http://itechlog.com/linux-man-pages/2009/01/01/modinfo/" title="MODINFO">MODINFO</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/linux-man-pages/2009/01/01/hostname-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

