<?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: Get good command line habits</title>
	<atom:link href="http://www.everyjoe.com/newlinuxuser/get-good-command-line-habits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.everyjoe.com/newlinuxuser/get-good-command-line-habits/</link>
	<description>Linux Tips - Information for Using Linux</description>
	<lastBuildDate>Thu, 03 Dec 2009 12:32:29 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alvlin</title>
		<link>http://www.everyjoe.com/newlinuxuser/get-good-command-line-habits/comment-page-1/#comment-988</link>
		<dc:creator>alvlin</dc:creator>
		<pubDate>Fri, 29 Feb 2008 12:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.newlinuxuser.com/get-good-command-line-habits/#comment-988</guid>
		<description>There is one tip for bash that is not in that article and is REALLY useful: lists in { }

for example, let&#039;s try this:

mkdir {a,b}/{1,2,3}

this will create the following structure:

a/1
a/2
a/3
b/1
b/2
b/3

The posibilities for this are really interesting, and it is a powerful feature. For example, let&#039;s say that you have files for 02-28 and 02-27 and want to move them:

# ls -1
log_02-28
log_02-27
# mv (or cat, or cp, or whatever) log_02-2{7,8}


Bash is powerful, but you need a lot of practice to master it. I&#039;m proud to be slowly walking that road :-)</description>
		<content:encoded><![CDATA[<p>There is one tip for bash that is not in that article and is REALLY useful: lists in { }</p>
<p>for example, let&#8217;s try this:</p>
<p>mkdir {a,b}/{1,2,3}</p>
<p>this will create the following structure:</p>
<p>a/1<br />
a/2<br />
a/3<br />
b/1<br />
b/2<br />
b/3</p>
<p>The posibilities for this are really interesting, and it is a powerful feature. For example, let&#8217;s say that you have files for 02-28 and 02-27 and want to move them:</p>
<p># ls -1<br />
log_02-28<br />
log_02-27<br />
# mv (or cat, or cp, or whatever) log_02-2{7,8}</p>
<p>Bash is powerful, but you need a lot of practice to master it. I&#8217;m proud to be slowly walking that road <img src='http://www.everyjoe.com/newlinuxuser/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>