<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PoundBangWhack.com &#187; Cheat Sheet</title>
	<atom:link href="http://www.poundbangwhack.com/tag/cheat-sheet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.poundbangwhack.com</link>
	<description>A web development/programming blog providing info, tips, and tricks on programming languages, scripting, Linux, MySQL and more</description>
	<lastBuildDate>Sat, 17 Jul 2010 05:17:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>awk Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/awk/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/awk/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 19:34:21 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=1004</guid>
		<description><![CDATA[
awk -v nr=N '{ for (x=nr; x]]></description>
			<content:encoded><![CDATA[<dl>
<dt>
awk -v nr=<em>N</em> '{ for (x=nr; x<=NF; x++) {printf $x " "; }; print " " }'</dt>
<dd>Use awk to print from field <em>N</em> to the end of the line.</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/awk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Cheat Sheets Posted</title>
		<link>http://www.poundbangwhack.com/2009/06/28/new-cheat-sheets-posted/</link>
		<comments>http://www.poundbangwhack.com/2009/06/28/new-cheat-sheets-posted/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 06:03:54 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Cheat Sheet]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?p=956</guid>
		<description><![CDATA[So it&#8217;s been a while since I posted (about a week).  I&#8217;ve been trying to continue to learn as much as I can not only about blogging, but about web design, programming, and Linux in general.  To see what I&#8217;ve been reading, check out my Twitter profile.
I have reworked my cheat sheets and [...]]]></description>
			<content:encoded><![CDATA[<p>So it&#8217;s been a while since I posted (about a week).  I&#8217;ve been trying to continue to learn as much as I can not only about blogging, but about web design, programming, and Linux in general.  To see what I&#8217;ve been reading, <a href="http://twitter.com/mstoecker">check out my Twitter profile.</a></p>
<p>I have reworked my <a href="http://www.poundbangwhack.com/cheat-sheets">cheat sheets</a> and now have specific pages (and PDF versions) for each topic of cheat sheet instead of one large cheat sheet.  I will be expanding all of them as time allows, but until then&#8230;enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/2009/06/28/new-cheat-sheets-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Miscellaneous SSH Commands Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/miscellaneous-ssh-commands/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/miscellaneous-ssh-commands/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:59:23 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=894</guid>
		<description><![CDATA[

scp source_filename user@host:/full/remote/destination/
scp user@host:/full/remote/destination/filename /copy/to/local/destination/


SCP (Secure Copy) &#8211; Copy files between computers, which is almost the same as cp except that you need to include the user and machine name as well
wget http://97.74.114.60/ps_mem &#038;&#038; chmod +x ps_mem &#038;&#038; ./ps_mem &#038;&#038; rm -f ps_mem
Python memory test script &#8211; does not work well on virtual dedicated server&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<dl>
<dt>
<ul class="no-bullet" style="margin: 0; padding: 0">
<li>scp source_filename user@host:/full/remote/destination/</li>
<li>scp user@host:/full/remote/destination/filename /copy/to/local/destination/</li>
</ul>
</dt>
<dd>SCP (Secure Copy) &#8211; Copy files between computers, which is almost the same as cp except that you need to include the user and machine name as well</dd>
<dt>wget http://97.74.114.60/ps_mem &#038;&#038; chmod +x ps_mem &#038;&#038; ./ps_mem &#038;&#038; rm -f ps_mem</dt>
<dd>Python memory test script &#8211; does not work well on virtual dedicated server&#8217;s due to no shared memory but will give a depiction as to what is using up the most memory</dd>
<dt>/etc/fstab</dt>
<dd>Partitions/Drives to be mounted on server boot need to be listed in this file</dd>
<dt>which <em>command</em></dt>
<dd>Show full path name of <em>command</em></dd>
<dt>cd -</dt>
<dd>Go to the previous directory</dd>
<dt>ln -s <em>target</em> <em>linkname</em></dt>
<dd>Create a symbolic link named <em>linkname</em> that points to <em>target</em></dd>
<dt>!<em>command</em></dt>
<dd>Run the last occurrence of <em>command</em> that was run</dd>
<dt>!$</dt>
<dd>Use the last variable entered on the command line</dd>
<dt><em>command</em> &#038;</dt>
<dd>Run <em>command</em> in the background to allow you to continue using the shell</dd>
<dt>nice <em>command</em> -n <em>N</em></dt>
<dd>Run <em>command</em> with a priority of <em>N</em> (-20 (highest) to 19 (lowest))</dd>
<dt>renice <em>N</em> <em> PID</em></dt>
<dd>Change the priority of process <em>PID</em> to <em>N</em></dd>
<dt>&lt; /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c<em>number</em></dt>
<dd>Generate <em>number</em> digit random string</dd>
<dt>dd if=/dev/zero of=testfile.txt bs=1M count=<em>number</em></dt>
<dd>Create a blank <em>number</em> MB file</dd>
<dt>^<em>foo</em>^<em>bar</em></dt>
<dd>Run the last command run replacing <em>foo</em> with <em>bar</em>, good for when you have a typo in the last command.  Leaving off ^<em>bar</em> will run the last command removing ^<em>foo</em> from the command</dd>
<dt>mysqlcheck -o <em>databasename</em></dt>
<dd>Defragment database named <em>databasename</em></dd>
<dt>sysctl -w net.ipv4.icmp_echo_ignore_all=1</dt>
<dd>Turn off ping replies</dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/misc_ssh.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/'misc-ssh);">Download the Miscellaneous SSH Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/miscellaneous-ssh-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>find Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/find/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/find/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:58:49 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=859</guid>
		<description><![CDATA[-P
Never follow symbolic links
-L
Follow symbolic links
-H
Do not follow symbolic links, except while processing the command line arguments
-type type
Find files of type

b &#8211; block (buffered) special 
c &#8211; character (unbuffered) special
d &#8211; directory
p &#8211; named pipe (FIFO)
f &#8211; regular file
l &#8211; symbolic link; this is never true if the -L option or the -follow option is [...]]]></description>
			<content:encoded><![CDATA[<dl>
<dt>-P</dt>
<dd>Never follow symbolic links</dd>
<dt>-L</dt>
<dd>Follow symbolic links</dd>
<dt>-H</dt>
<dd>Do not follow symbolic links, except while processing the command line arguments</dd>
<dt>-type <em>type</em></dt>
<dd>Find files of <em>type</em></p>
<ul>
<li>b &#8211; block (buffered) special </li>
<li>c &#8211; character (unbuffered) special</li>
<li>d &#8211; directory</li>
<li>p &#8211; named pipe (FIFO)</li>
<li>f &#8211; regular file</li>
<li>l &#8211; symbolic link; this is never true if the -L option or the -follow option is in effect, unless the symbolic link is broken. If you want to search for symbolic links when -L is in effect, use -xtype.</li>
<li>s &#8211; socket</li>
</ul>
</dd>
<dt>-size <em>n</em></dt>
<dd>File uses <em>n</em> units of space</p>
<ul>
<li>b &#8211; for 512-byte blocks (this is the default if no suffix is used)</li>
<li>c &#8211; for bytes</li>
<li>w &#8211; for two-byte words</li>
<li>k &#8211; for Kilobytes</li>
<li>M &#8211; for Megabytes</li>
<li>G &#8211; for Gigabyte</li>
</ul>
</dd>
<dt>-maxdepth <em>levels</em></dt>
<dd>Descend at most <em>levels</em> (a non-negative integer) levels of directories below the command line arguments. &#8216;-maxdepth 0&#8242; means only apply the tests and actions to the command line arguments</dd>
<dt>-amin <em>n</em></dt>
<dd>File was last accessed <em>n</em> minutes ago.</dd>
<dt>-atime <em>n</em></dt>
<dd>File was last accessed <em>n</em>*24 hours ago. When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored</dd>
<dt>-cmin <em>n</em></dt>
<dd>File&#8217;s status was last changed <em>n</em> minutes ago.</dd>
<dt>-ctime <em>n</em></dt>
<dd>File&#8217;s status was last changed <em>n</em>*24 hours ago.</dd>
<dt>-mmin <em>n</em></dt>
<dd>File&#8217;s data was last modified <em>n</em> minutes ago</dd>
<dt>-mtime <em>n</em></dt>
<dd>File&#8217;s data was last modified <em>n</em>*24 hours ago</dd>
<dt>-newer <em>file</em></dt>
<dd>File was modified more recently than file</p>
<ul>
<li>+7 = more than 7 days ago</li>
<li>2 = between 2 and 3 days ago</li>
<li>-2 = within the past 2 days</li>
<li>+1 = more than 1 day old</li>
<li>1 = between 1 and 2 days ago</li>
<li>-1 = within the past 1 day</li>
<li>0 = within the past 1 day</li>
<li>+<em>n</em> = for greater than <em>n</em></li>
<li>-<em>n</em> = for less than <em>n</em></li>
<li><em>n</em> = for exactly <em>n</em></li>
</ul>
</dd>
<dt>-group <em>gname</em></dt>
<dd>File belongs to group gname</dd>
<dt>-user <em>uname</em></dt>
<dd>File is owned by user uname</dd>
<dt>-exec <em>command</em></dt>
<dd>Execute <em>command</em></dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/find.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/find');">Download the find Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/find/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash Scripting Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/bash-scripting/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/bash-scripting/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:58:10 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=887</guid>
		<description><![CDATA[
If...then
if [ expression ]thencommandsfi

If..then...else
if [ expression ]thencommandselsecommandsfi

If..then...else If...else
if [ expression ]thencommandselif [ expression2 ]thencommandselsecommandsfi
Case select
case string1 instr1)commands;;str2)commands;;*)commands;;esac
For loop
for var1 in listdocommandsdone
While loop
while [ expression ]docommandsdone
Do Until loop
until [ expression ]docommandsdone

Function - call with fname
fname(){commands}
$0
Name of the shell script itself
$1
Value of first command line parameter (similarly $2, $3, etc)
$#
In a shell script, the number of command [...]]]></description>
			<content:encoded><![CDATA[<dl>
<dt>
If...then</dt>
<dd>if [ expression ]<br />then<br />commands<br />fi</dd>
<dt>
If..then...else</dt>
<dd>if [ expression ]<br />then<br />commands<br />else<br />commands<br />fi</dd>
<dt>
If..then...else If...else</dt>
<dd>if [ expression ]<br />then<br />commands<br />elif [ expression2 ]<br />then<br />commands<br />else<br />commands<br />fi</dd>
<dt>Case select</dt>
<dd>case string1 in<br />str1)<br />commands;;<br />str2)<br />commands;;<br />*)<br />commands;;<br />esac</dd>
<dt>For loop</dt>
<dd>for var1 in list<br />do<br />commands<br />done</dd>
<dt>While loop</dt>
<dd>while [ expression ]<br />do<br />commands<br />done</dd>
<dt>Do Until loop</dt>
<dd>until [ expression ]<br />do<br />commands<br />done</dd>
<dt>
Function - call with fname</dt>
<dd>fname(){<br />commands<br />}</dd>
<dt>$0</dt>
<dd>Name of the shell script itself</dd>
<dt>$1</dt>
<dd>Value of first command line parameter (similarly $2, $3, etc)</dd>
<dt>$#</dt>
<dd>In a shell script, the number of command line parameters.</dd>
<dt>$*</dt>
<dd>All of the command line parameters.</dd>
<dt><em>varname</em>=<em>value</em></dt>
<dd>Create a variable named <em>varname</em> with a value of <em>value</em></dd>
<dt></dt>
<dd></dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/bash_scripting.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/bash');">Download the bash Scripting Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/bash-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ftp Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/ftp/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/ftp/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:56:38 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=885</guid>
		<description><![CDATA[ftp server
Make an ftp connection to server
ls
List files on the remote system
cd directory
Change the working to directory to directory
ASCII &#124; binary
Set the transfer mode to ASCII or binary 
get filename
Copy filename from the remote system to the local system
mget files
Copy multiple files from the remote system to the local system.  You can also use [...]]]></description>
			<content:encoded><![CDATA[<dl>
<dt>ftp <em>server</em></dt>
<dd>Make an ftp connection to <em>server</em></dd>
<dt>ls</dt>
<dd>List files on the remote system</dd>
<dt>cd <em>directory</em></dt>
<dd>Change the working to directory to <em>directory</em></dd>
<dt>ASCII | binary</dt>
<dd>Set the transfer mode to ASCII or binary </dd>
<dt>get <em>filename</em></dt>
<dd>Copy <em>filename</em> from the remote system to the local system</dd>
<dt>mget <em>files</em></dt>
<dd>Copy multiple <em>files</em> from the remote system to the local system.  You can also use strings and regex to select files to get.</dd>
<dt>put <em>filename</em></dt>
<dd>Copy <em>filename</em> from the local system to the remote system</dd>
<dt>mput <em>files</em></dt>
<dd>Copy multiple <em>files</em> from the local system to the remote system.  You can also use strings and regex to select files to get.</dd>
<dt>quit | bye</dt>
<dd>Disonnect</dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/ftp.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/ftp');">Download the ftp Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/ftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>grep Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/grep/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/grep/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:56:16 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=854</guid>
		<description><![CDATA[-i
case insensitive search
-n
print output with line numbers
-c
print only a count of the number of lines matching
-v
search for all lines that don&#8217;t contain the  search string
grep word *
Search through all files in a directory for word

Download the grep Cheat Sheet
]]></description>
			<content:encoded><![CDATA[<dl>
<dt>-i</dt>
<dd>case insensitive search</dd>
<dt>-n</dt>
<dd>print output with line numbers</dd>
<dt>-c</dt>
<dd>print only a count of the number of lines matching</dd>
<dt>-v</dt>
<dd>search for all lines that don&#8217;t contain the  search string</dd>
<dt>grep <em>word</em> *</dt>
<dd>Search through all files in a directory for <em>word</em></dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/grep.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/grep');">Download the grep Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/grep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular Expressions (regexp) Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/regular-expressions/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/regular-expressions/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:55:29 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RegExp]]></category>
		<category><![CDATA[Regular Expression]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=868</guid>
		<description><![CDATA[.
Match any character except NULL, empty string, or newline: (e.g. (&#8230;) matches &#8216;eN2&#8242;, &#8216;774&#8242;, &#8216;Akc&#8217;, etc, but not &#8216;   &#8216;)
*
Match preceding character 0 or more times: (e.g. ab*c matches &#8216;ac&#8217;, &#8216;abc&#8217;, &#8216;abbbc&#8217;, etc)
+
Match preceding character 1 or more times: (e.g. [hc]+at matches &#8216;hat&#8217;, &#8216;cat&#8217;, &#8216;chat&#8217;, &#8216;hcat&#8217;, &#8216;ccchat&#8217; but not &#8216;at&#8217;)
?
Match preceding character 0 [...]]]></description>
			<content:encoded><![CDATA[<dl>
<dt>.</dt>
<dd>Match any character except NULL, empty string, or newline: (e.g. (&#8230;) matches &#8216;eN2&#8242;, &#8216;774&#8242;, &#8216;Akc&#8217;, etc, but not &#8216;   &#8216;)</dd>
<dt>*</dt>
<dd>Match preceding character 0 or more times: (e.g. ab*c matches &#8216;ac&#8217;, &#8216;abc&#8217;, &#8216;abbbc&#8217;, etc)</dd>
<dt>+</dt>
<dd>Match preceding character 1 or more times: (e.g. [hc]+at matches &#8216;hat&#8217;, &#8216;cat&#8217;, &#8216;chat&#8217;, &#8216;hcat&#8217;, &#8216;ccchat&#8217; but not &#8216;at&#8217;)</dd>
<dt>?</dt>
<dd>Match preceding character 0 or 1 time: (e.g. [hc]?at matches &#8216;hat&#8217;, &#8216;cat&#8217;, and &#8216;at&#8217;</dd>
<dt>[<em>characters</em>]</dt>
<dd>Match any <em>characters</em> within []: (e.g. [0-9a-zA-Z] matches all alphanumeric characters)</dd>
<dt>^(<em>character class</em>)</dt>
<dd>Match all characters except those in <em>character class</em>: (e.g. [^abc] matches all characters except &#8216;a&#8217;, &#8216;b&#8217;, or &#8216;c&#8217;)</dd>
<dt>-</dt>
<dd>Create range of characters: (e.g. [0-9a-zA-Z] matches all alphanumeric characters)</dd>
<dt>(<em>pattern</em>)</dt>
<dd>Search for a subpattern: (e.g. [(fools)(fool's)] gold matches &#8220;fools gold&#8221; or &#8220;fool&#8217;s gold&#8221;)</dd>
<dt></dt>
<dd>Escapes special character (e.g. . will treat a . as a literal period instead of parsing it&#8217;s special meaning)</dd>
<dt>^</dt>
<dd>Matches the starting position within the string</dd>
<dt>$</dt>
<dd>Matches the ending position of the string</dd>
<dt>{<em>number</em>}</dt>
<dd>Match <em>number</em> of instances of preceding character</dd>
<dt>{<em>number,</em>}</dt>
<dd>Match <em>number</em> or more instances of preceding character</dd>
<dt>{<em>Number1</em>,<em>Number2</em>}</dt>
<dd>Match between <em>Number1</em> and <em>Number2</em> instances of preceding characters (inclusive)</dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/regexp.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/regexp');">Download the Regular Expressions Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/regular-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rpm Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/rpm/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/rpm/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:55:06 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=880</guid>
		<description><![CDATA[-i
Install a package
-e
Uninstall a package
-q
Query a package
-U
Update a package
-l
List the files in the package
rpm -i package name
Install package name

rpm -Uvh (--force --nodeps) package name
Upgrade package name (force installation ignoring dependencies)
rpm -e package name
Erase/uninstall package name
rpm -qvl package name
Query package name information

Download the rpm Cheat Sheet
]]></description>
			<content:encoded><![CDATA[<dl>
<dt>-i</dt>
<dd>Install a package</dd>
<dt>-e</dt>
<dd>Uninstall a package</dd>
<dt>-q</dt>
<dd>Query a package</dd>
<dt>-U</dt>
<dd>Update a package</dd>
<dt>-l</dt>
<dd>List the files in the package</dd>
<dt>rpm -i <em>package name</em></dt>
<dd>Install <em>package name</em></dd>
<dt>
rpm -Uvh (--force --nodeps) <em>package name</em></dt>
<dd>Upgrade <em>package name</em> (force installation ignoring dependencies)</dd>
<dt>rpm -e <em>package name</em></dt>
<dd>Erase/uninstall <em>package name</em></dd>
<dt>rpm -qvl <em>package name</em></dt>
<dd>Query <em>package name</em> information</dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/rpm.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/rpm');">Download the rpm Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/rpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sed Cheat Sheet</title>
		<link>http://www.poundbangwhack.com/cheat-sheets/sed/</link>
		<comments>http://www.poundbangwhack.com/cheat-sheets/sed/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:54:40 +0000</pubDate>
		<dc:creator>Mark Stoecker</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://www.poundbangwhack.com/?page_id=865</guid>
		<description><![CDATA[s/regexp/replacement
If the search is successful, replace regexp with replacement.
sed &#8217;s/oldword/newword/g&#8217;
Substitute newword for oldword.  The g makes the substitution global otherwise only the first occurrence of oldword would be matched.
sed &#8217;s/word/d&#8217;
Delete the entire line that contains word
sed &#8217;s/word//&#8217;
Delete just the word word
sed -n &#8216;10,20p;20q&#8217;
Print lines 10-20

Download the sed Cheat Sheet
]]></description>
			<content:encoded><![CDATA[<dl>
<dt>s/<em>regexp</em>/<em>replacement</em></dt>
<dd>If the search is successful, replace <em>regexp</em> with <em>replacement</em>.</dd>
<dt>sed &#8217;s/<em>oldword</em>/<em>newword</em>/g&#8217;</dt>
<dd>Substitute <em>newword</em> for <em>oldword</em>.  The <em>g</em> makes the substitution global otherwise only the first occurrence of <em>oldword</em> would be matched.</dd>
<dt>sed &#8217;s/<em>word</em>/d&#8217;</dt>
<dd>Delete the entire line that contains <em>word</em></dd>
<dt>sed &#8217;s/<em>word</em>//&#8217;</dt>
<dd>Delete just the word <em>word</em></dd>
<dt>sed -n &#8216;10,20p;20q&#8217;</dt>
<dd>Print lines 10-20</dd>
</dl>
<div class="cheat_sheet_link"><a href='http://www.poundbangwhack.com/wp-content/uploads/sed.pdf' onClick="javascript: pageTracker._trackPageview('/downloads/cheat-sheets/sed');">Download the sed Cheat Sheet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.poundbangwhack.com/cheat-sheets/sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
