<?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: What webserver shell function</title>
	<atom:link href="http://www.cmdln.org/2008/12/05/what-webserver-shell-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cmdln.org/2008/12/05/what-webserver-shell-function/</link>
	<description>a system administrators mutterings</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:51:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ben</title>
		<link>http://www.cmdln.org/2008/12/05/what-webserver-shell-function/comment-page-1/#comment-653</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sun, 07 Dec 2008 03:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.cmdln.org/2008/12/05/what-webserver-shell-function/#comment-653</guid>
		<description>Here&#039;s a diet version for a single host:
$ curl -sI google.com &#124; grep Server

Here&#039;s a version with only alphabet letters and dashes &amp; pipes:
$ lessecho google.com wpi.edu &#124; xargs curl -sI &#124; grep Server
(lessecho comes with less, xargs with findutils, at least in Debian/Ubuntu)

thus:
what-http-server() { lessecho $@ &#124; xargs curl -sI &#124; grep Server }</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a diet version for a single host:<br />
$ curl -sI google.com | grep Server</p>
<p>Here&#8217;s a version with only alphabet letters and dashes &amp; pipes:<br />
$ lessecho google.com wpi.edu | xargs curl -sI | grep Server<br />
(lessecho comes with less, xargs with findutils, at least in Debian/Ubuntu)</p>
<p>thus:<br />
what-http-server() { lessecho $@ | xargs curl -sI | grep Server }</p>
]]></content:encoded>
	</item>
</channel>
</rss>

