<?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: Web server oneliner with bash</title>
	<atom:link href="http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 06:51:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=7128</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: battery chargers</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-376195</link>
		<dc:creator>battery chargers</dc:creator>
		<pubDate>Tue, 08 Mar 2011 15:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-376195</guid>
		<description>I was just looking for this information for a while. After six hours of continuous Googleing, at last I got it in your site. I wonder what is the Google&#039;s problem that does not rank this kind of informative sites closer to the top. Usually the top sites are full of garbage.</description>
		<content:encoded><![CDATA[<p>I was just looking for this information for a while. After six hours of continuous Googleing, at last I got it in your site. I wonder what is the Google&#8217;s problem that does not rank this kind of informative sites closer to the top. Usually the top sites are full of garbage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alva Coster</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-313663</link>
		<dc:creator>Alva Coster</dc:creator>
		<pubDate>Thu, 10 Feb 2011 12:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-313663</guid>
		<description>Wow..pretty informative. I&#039;m glad I found this on ! :)</description>
		<content:encoded><![CDATA[<p>Wow..pretty informative. I&#8217;m glad I found this on ! <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ???????</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-311906</link>
		<dc:creator>???????</dc:creator>
		<pubDate>Wed, 09 Feb 2011 22:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-311906</guid>
		<description>Extremely rated post. I learn something totally new on totally different blogs everyday. Deciding on one . stimulating to learn the paper content from different writers and learn a little bit one thing from their website. I’d like to use certain of this content on my blog you’re mind. Natually I’ll give a link here we&#039;re at your internet-site. Appreciate your sharing.</description>
		<content:encoded><![CDATA[<p>Extremely rated post. I learn something totally new on totally different blogs everyday. Deciding on one . stimulating to learn the paper content from different writers and learn a little bit one thing from their website. I’d like to use certain of this content on my blog you’re mind. Natually I’ll give a link here we&#8217;re at your internet-site. Appreciate your sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-221737</link>
		<dc:creator>1</dc:creator>
		<pubDate>Wed, 05 Jan 2011 16:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-221737</guid>
		<description>What a great blog. I&#039;ve enjoyed digesting through your site in the last week.</description>
		<content:encoded><![CDATA[<p>What a great blog. I&#8217;ve enjoyed digesting through your site in the last week.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brake lines</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-212427</link>
		<dc:creator>brake lines</dc:creator>
		<pubDate>Fri, 31 Dec 2010 22:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-212427</guid>
		<description>I just discovered your blog right now and I have to say that I am not disappointed.  Keep up the fantastic writing.</description>
		<content:encoded><![CDATA[<p>I just discovered your blog right now and I have to say that I am not disappointed.  Keep up the fantastic writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scotty Silvestri</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-158273</link>
		<dc:creator>Scotty Silvestri</dc:creator>
		<pubDate>Mon, 11 Oct 2010 12:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-158273</guid>
		<description>Hello please forgive my spelling , it is not my first language. I found your article on Bookmarking site &quot;Web server on bash (in one line!) - Linux * Screw&quot;  was more or less close to what I was researching for, but after reading through your blog post I still was not able find simple solution to my challenge and this is driving me cuckoo. I enjoy your blog and think it is without a question helpful but I think you can make it even better if you polish your blog search to make it easier for searchers to locate required information within your blog. You can get this done by adding WordPress addon… As far as I can remember addon was called advanced search it has gobs of handy options like search excerpts, search attachments. If you have any questions about configuring internal search you can contact me at &lt;a href=&quot;mailto:Beatty87@gmail.com&quot; rel=&quot;nofollow&quot;&gt;Beatty87@gmail.com&lt;/a&gt; Thank you I hope you have a good day</description>
		<content:encoded><![CDATA[<p>Hello please forgive my spelling , it is not my first language. I found your article on Bookmarking site &#8220;Web server on bash (in one line!) &#8211; Linux * Screw&#8221;  was more or less close to what I was researching for, but after reading through your blog post I still was not able find simple solution to my challenge and this is driving me cuckoo. I enjoy your blog and think it is without a question helpful but I think you can make it even better if you polish your blog search to make it easier for searchers to locate required information within your blog. You can get this done by adding WordPress addon… As far as I can remember addon was called advanced search it has gobs of handy options like search excerpts, search attachments. If you have any questions about configuring internal search you can contact me at <a href="mailto:Beatty87@gmail.com" rel="nofollow">Beatty87@gmail.com</a> Thank you I hope you have a good day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rosena Morfee</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-83993</link>
		<dc:creator>Rosena Morfee</dc:creator>
		<pubDate>Sun, 28 Mar 2010 16:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-83993</guid>
		<description>Einen tollen Artikel hast du hier geschrieben. Dieser Artikel hat mich irgendwie animiert auch wieder mehr zu bloggen, werde mich jetzt gleich mal hinsetzen und einen neuen Posts posten.</description>
		<content:encoded><![CDATA[<p>Einen tollen Artikel hast du hier geschrieben. Dieser Artikel hat mich irgendwie animiert auch wieder mehr zu bloggen, werde mich jetzt gleich mal hinsetzen und einen neuen Posts posten.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheWorm</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-47853</link>
		<dc:creator>TheWorm</dc:creator>
		<pubDate>Wed, 04 Nov 2009 23:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-47853</guid>
		<description>Good work Erdem Güven! But you didn&#039;t add just the directory browse support, now you can see every file you have on you computer, not just the ones you put in the same folder where the script is.
Try looking at http://localhost:8080///etc/passwd
This should give you an idea about what I&#039;m trying to explain...</description>
		<content:encoded><![CDATA[<p>Good work Erdem Güven! But you didn&#8217;t add just the directory browse support, now you can see every file you have on you computer, not just the ones you put in the same folder where the script is.<br />
Try looking at <a href="http://localhost:8080///etc/passwd" rel="nofollow">http://localhost:8080///etc/passwd</a><br />
This should give you an idea about what I&#8217;m trying to explain&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: troppo caffe` poco cervello</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-44284</link>
		<dc:creator>troppo caffe` poco cervello</dc:creator>
		<pubDate>Sun, 04 Oct 2009 01:31:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-44284</guid>
		<description>WEBSERVER MORELINER WITH BASH


while [ $? -eq 0 ];do 
  nc -vlp 8080 -c &#039;(
    r=read
    e=echo
    $r a b c
    z=$r
    while [ ${#z} -gt 2 ]
    do 
      $r z
    done
    f=`$e $b&#124;sed &#039;s/[^a-z0-9_.-]//gi&#039;`
    h=&quot;HTTP/1.0&quot;
    o=&quot;$h 200 OK\r\n&quot;
    c=&quot;Content&quot;
    if [ -z $f ];then 
      ($e $o
       ls&#124;(
         while $r n
         do 
           if [ -f &quot;$n&quot; ]; then 
             $e &quot;&lt;a href=&quot;/$n&quot; rel=&quot;nofollow&quot;&gt;`ls -gh $n`&lt;/a&gt;&quot;
           fi
         done
       )
      )
    elif [ -f $f ];then 
      $e &quot;$o$c-Type: `file -ib $f`\n$c-Length: `stat -c%s $f`&quot;
      $e
      cat $f
    else 
      $e -e &quot;$h 404 Not Found\n\n404\n&quot;
    fi
  )&#039;
done</description>
		<content:encoded><![CDATA[<p>WEBSERVER MORELINER WITH BASH</p>
<p>while [ $? -eq 0 ];do<br />
  nc -vlp 8080 -c &#8216;(<br />
    r=read<br />
    e=echo<br />
    $r a b c<br />
    z=$r<br />
    while [ ${#z} -gt 2 ]<br />
    do<br />
      $r z<br />
    done<br />
    f=`$e $b|sed &#8217;s/[^a-z0-9_.-]//gi&#8217;`<br />
    h=&#8221;HTTP/1.0&#8243;<br />
    o=&#8221;$h 200 OK\r\n&#8221;<br />
    c=&#8221;Content&#8221;<br />
    if [ -z $f ];then<br />
      ($e $o<br />
       ls|(<br />
         while $r n<br />
         do<br />
           if [ -f "$n" ]; then<br />
             $e &#8220;<a href="/$n" rel="nofollow">`ls -gh $n`</a>&#8221;<br />
           fi<br />
         done<br />
       )<br />
      )<br />
    elif [ -f $f ];then<br />
      $e &#8220;$o$c-Type: `file -ib $f`\n$c-Length: `stat -c%s $f`&#8221;<br />
      $e<br />
      cat $f<br />
    else<br />
      $e -e &#8220;$h 404 Not Found\n\n404\n&#8221;<br />
    fi<br />
  )&#8217;<br />
done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ann</title>
		<link>http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/comment-page-1/#comment-32506</link>
		<dc:creator>ann</dc:creator>
		<pubDate>Tue, 26 May 2009 18:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.linuxscrew.com/2007/09/06/web-server-on-bash-in-one-line/#comment-32506</guid>
		<description>it doesnt work to me ,it load and when i conect with firefox only appears a  white screen :(

Also the erdem code,but it shows this:
syntax error near unexpected token `(&#039;

my system :debian etch.
some help?
thanks</description>
		<content:encoded><![CDATA[<p>it doesnt work to me ,it load and when i conect with firefox only appears a  white screen <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Also the erdem code,but it shows this:<br />
syntax error near unexpected token `(&#8216;</p>
<p>my system :debian etch.<br />
some help?<br />
thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

