<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Shell Function &#8211; Which Webserver Does That Site Run?</title>
	<atom:link href="http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/feed" rel="self" type="application/rss+xml" />
	<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html</link>
	<description>Learn the UNIX/Linux command line</description>
	<lastBuildDate>Mon, 06 Jun 2011 01:35:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Brock Noland</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5769</link>
		<dc:creator>Brock Noland</dc:creator>
		<pubDate>Mon, 07 Apr 2008 15:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5769</guid>
		<description>I think I need to hack on wordpress&#039;s input filter. It sucks for those of us trying to input stuff other than text.</description>
		<content:encoded><![CDATA[<p>I think I need to hack on wordpress&#8217;s input filter. It sucks for those of us trying to input stuff other than text.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brock Noland</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5768</link>
		<dc:creator>Brock Noland</dc:creator>
		<pubDate>Mon, 07 Apr 2008 15:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5768</guid>
		<description>ubersoldat,

Yep, if curl is not available, then this works:

&lt;pre&gt;
wget -S -O - --spider http://bashcurescancer.com/ 2&gt;&amp;1 &#124; awk -F&#039;: &#039; &#039;/^ *Server:/ {print $2}&#039;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>ubersoldat,</p>
<p>Yep, if curl is not available, then this works:</p>
<pre>
wget -S -O - --spider <a href="http://bashcurescancer.com/" rel="nofollow">http://bashcurescancer.com/</a> 2>&#038;1 | awk -F': ' '/^ *Server:/ {print $2}'
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: ubersoldat</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5761</link>
		<dc:creator>ubersoldat</dc:creator>
		<pubDate>Mon, 07 Apr 2008 13:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5761</guid>
		<description>Sorry, the command should be:

$wget www.apache.org --spider -d 2&gt;&amp;1 &#124; grep Server

Bye</description>
		<content:encoded><![CDATA[<p>Sorry, the command should be:</p>
<p>$wget <a href="http://www.apache.org" rel="nofollow">http://www.apache.org</a> &#8211;spider -d 2&gt;&amp;1 | grep Server</p>
<p>Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ubersoldat</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5760</link>
		<dc:creator>ubersoldat</dc:creator>
		<pubDate>Mon, 07 Apr 2008 13:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5760</guid>
		<description>Hi!

curl in not default on some distros, so might want to use 
$wget -d 2&gt;&amp;1 &#124; grep Server

Bye!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>curl in not default on some distros, so might want to use<br />
$wget -d 2&gt;&amp;1 | grep Server</p>
<p>Bye!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brock Noland</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5722</link>
		<dc:creator>Brock Noland</dc:creator>
		<pubDate>Sun, 06 Apr 2008 17:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5722</guid>
		<description>Andrey,

See this &lt;a href=&quot;http://bashcurescancer.com/improve-this-script-win-100-dollars.html&quot; rel=&quot;nofollow&quot;&gt;BASH only http client&lt;/a&gt;.

Mathias,

Thanks for the link. I think he was just showing a very basic identifier as there are many full fledged options out there.

Brock</description>
		<content:encoded><![CDATA[<p>Andrey,</p>
<p>See this <a href="http://bashcurescancer.com/improve-this-script-win-100-dollars.html" rel="nofollow">BASH only http client</a>.</p>
<p>Mathias,</p>
<p>Thanks for the link. I think he was just showing a very basic identifier as there are many full fledged options out there.</p>
<p>Brock</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathias</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5719</link>
		<dc:creator>Mathias</dc:creator>
		<pubDate>Sun, 06 Apr 2008 16:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5719</guid>
		<description>Try &lt;a href=&quot;http://www.net-square.com/httprint/&quot; rel=&quot;nofollow&quot;&gt;httprint&lt;/a&gt;. It&#039;s way more reliable...</description>
		<content:encoded><![CDATA[<p>Try <a href="http://www.net-square.com/httprint/" rel="nofollow">httprint</a>. It&#8217;s way more reliable&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Klyachkin</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5704</link>
		<dc:creator>Andrey Klyachkin</dc:creator>
		<pubDate>Sun, 06 Apr 2008 11:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5704</guid>
		<description>lost some code:
exec 3 &lt;&gt;/dev/tcp/$1/80</description>
		<content:encoded><![CDATA[<p>lost some code:<br />
exec 3 &lt;&gt;/dev/tcp/$1/80</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Klyachkin</title>
		<link>http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html/comment-page-1#comment-5703</link>
		<dc:creator>Andrey Klyachkin</dc:creator>
		<pubDate>Sun, 06 Apr 2008 11:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/shell-function-which-webserver-does-that-site-run.html#comment-5703</guid>
		<description>what-http-server() { while test &quot;$1&quot; ; do exec 3/dev/tcp/$1/80; echo -e &quot;GET / HTTP/1.0\n\n&quot; &gt;&amp;3; cat &lt;&amp;3 &#124; awk -F&#039;: &#039; &#039;/^Server:/ {print $2}&#039;; shift ; done ; }

will not work on debian-based distributions</description>
		<content:encoded><![CDATA[<p>what-http-server() { while test &#8220;$1&#8243; ; do exec 3/dev/tcp/$1/80; echo -e &#8220;GET / HTTP/1.0\n\n&#8221; &gt;&amp;3; cat &lt;&amp;3 | awk -F&#8217;: &#8216; &#8216;/^Server:/ {print $2}&#8217;; shift ; done ; }</p>
<p>will not work on debian-based distributions</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.208 seconds -->

