<?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>Cup of Coffee &#187; zsh</title>
	<atom:link href="http://blog.gregseth.net/tag/zsh/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gregseth.net</link>
	<description>Cinnamon flavoured.</description>
	<lastBuildDate>Sat, 31 Oct 2009 12:10:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Précis de commandes utiles</title>
		<link>http://blog.gregseth.net/2009/07/05/precis-de-commandes-utiles/</link>
		<comments>http://blog.gregseth.net/2009/07/05/precis-de-commandes-utiles/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 20:15:19 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Informatique]]></category>
		<category><![CDATA[Livres]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[trucs & astuces]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://blog.gregseth.net/?p=145</guid>
		<description><![CDATA[Here&#8217;s a list of very useful Linux shell commands. If you have some, feel free to share them in the comments, I&#8217;ll add &#8216;em to the list&#8230;
By the way, a quick poll, what&#8217;s your favorite shell? For me it&#8217;s &#8212; obviously &#8212; zsh!

script &#60;filename&#62;                              Saves everything output in the console in the
    [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a list of very useful Linux shell commands. If you have some, feel free to share them in the comments, I&#8217;ll add &#8216;em to the list&#8230;</p>
<p>By the way, a quick poll, what&#8217;s your favorite shell? For me it&#8217;s &#8212; obviously &#8212; zsh!</p>
<pre>
script &lt;filename&gt;                              Saves everything output in the console in the
                                               file, until EOT (^D).
cd -                                           Go to prevous directory (not the parent one
                                               like cd ..).
C-l                                            The same as `clear`: cleans the console.
tac                                            The same as `cat` but in reverse order (from the
                                               last line of the file).
mkdir -p path/to/{dir1,dir2,.../{dir1,Dir2}}   Creates the whole tree.
dialog                                         Creates a GUI like environment. See man page.
nc -l -p PORT                                  Listens to the PORT, and outputs everything sent
                                               to it to stdout.
nc HOST PORT                                   Send the stdin to the HOST:PORT.
^err^new                                       Replaces 'err' by 'new' in the previous entry
pgrep &lt;processname&gt;                            PID of the processus named processname.
C-r + start typing                             Search the history.
watch -d &lt;command&gt;                             Executes command every 2sec (can be changed with
                                               --interval=secs) and show the differences in the output.
reset                                          Cleans the term, when binary output messed the
                                               thing up.
lsof                                           List open files.
</pre>
<hr />
<p><small>Originally published by <a href="http://www.gregseth.net">Greg</a> for <a href="http://blog.gregseth.net">Cup of Coffee</a> on 05 Jul 2009. |
<a href="http://blog.gregseth.net/2009/07/05/precis-de-commandes-utiles/">Permalink</a> |
<a href="http://blog.gregseth.net/2009/07/05/precis-de-commandes-utiles/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.gregseth.net/2009/07/05/precis-de-commandes-utiles/&title=Précis de commandes utiles">del.icio.us</a>
<br /><br />
Post tags: <a href="http://blog.gregseth.net/tag/bash/" rel="tag">bash</a>, <a href="http://blog.gregseth.net/tag/informatique/" rel="tag">Informatique</a>, <a href="http://blog.gregseth.net/tag/linux/" rel="tag">linux</a>, <a href="http://blog.gregseth.net/tag/shell/" rel="tag">shell</a>, <a href="http://blog.gregseth.net/tag/terminal/" rel="tag">terminal</a>, <a href="http://blog.gregseth.net/tag/trucs-astuces/" rel="tag">trucs &amp; astuces</a>, <a href="http://blog.gregseth.net/tag/unix/" rel="tag">unix</a>, <a href="http://blog.gregseth.net/tag/zsh/" rel="tag">zsh</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.gregseth.net/2009/07/05/precis-de-commandes-utiles/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
