<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Can any one explain, what does &amp;quot;hostname -f&amp;quot; say in curl command? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104355#M21482</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt; I think Terry answered it best.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 00:52:20 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-02T00:52:20Z</dc:date>
    <item>
      <title>Can any one explain, what does "hostname -f" say in curl command?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104350#M21477</link>
      <description>&lt;P&gt;curl -u admin:$PASSWORD -i -H 'X-Requested-By: ambari'-X PUT -d  '{"RequestInfo": {"context" :"Start HDFS via REST"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}'  &lt;A href="http://`hostname" target="_blank"&gt;http://`hostname&lt;/A&gt; -f`:8080/api/v1/clusters/$CLUSTER_NAME/services/HDFS  In the above curl command, what is the meaning for "hostname -f". I am new to usage of REST APIs, it may be a stupid question. I would like to get clear idea for the above command.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 00:36:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104350#M21477</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-03-02T00:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can any one explain, what does "hostname -f" say in curl command?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104351#M21478</link>
      <description>&lt;P&gt;it means fully qualified domain name of the host. I think it was just to explain that full FQDN goes in the URL. I don't think it works as valid curl command as is but I've been surprised before &lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 00:39:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104351#M21478</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T00:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can any one explain, what does "hostname -f" say in curl command?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104352#M21479</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt; where did you get this example?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 00:39:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104352#M21479</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T00:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can any one explain, what does "hostname -f" say in curl command?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104353#M21480</link>
      <description>&lt;P&gt;The back ticks around the text cause the command to execute and the output is put in place of the command text.  So you get the fully qualified hostname of the machine where the command is being executed placed into the command.  If you run this snippet from a shell that is not on the Ambari server, you will get an error because the command is being sent to the local machine.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 00:39:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104353#M21480</guid>
      <dc:creator>TerryP</dc:creator>
      <dc:date>2016-03-02T00:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can any one explain, what does "hostname -f" say in curl command?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104354#M21481</link>
      <description>&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517" target="_blank"&gt;https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 00:48:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104354#M21481</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-03-02T00:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can any one explain, what does "hostname -f" say in curl command?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104355#M21482</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt; I think Terry answered it best.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 00:52:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-any-one-explain-what-does-quot-hostname-f-quot-say-in/m-p/104355#M21482</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T00:52:20Z</dc:date>
    </item>
  </channel>
</rss>

