<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10605823</id><updated>2011-04-21T11:42:31.084-07:00</updated><title type='text'>One unixcommand a day, keeps the doctor away</title><subtitle type='html'>A blog about unixcommands. What more can you want?</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://unixcommand.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10605823/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://unixcommand.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sigi</name><uri>http://www.blogger.com/profile/12823922925440342559</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10605823.post-110780557399626387</id><published>2005-02-07T11:34:00.000-08:00</published><updated>2005-02-07T11:46:13.996-08:00</updated><title type='text'>nl &amp; expand</title><content type='html'>A good evening to the 3 people reading this blog.&lt;br /&gt;&lt;br /&gt;Today I'm  going to talk about &lt;span style="font-style: italic;"&gt;nl&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;expand&lt;/span&gt;. These two nifty commands come quite handy in some situations (ex. posting to usenet, printing sourcecode, ...).&lt;br /&gt;&lt;br /&gt;But what are they all about? Well, here we go:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;expand:&lt;/span&gt;&lt;br /&gt;    expand simply converts tabs to spaces. Nothing more, nothing less. The, by far most usefull option is -t followed by a number. And guess what it does? It lets you specify the count of spaces a tab is substituted with. For the other two commandline options see the man page. :-)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;nl:&lt;br /&gt;    &lt;/span&gt;nl is another goodie. It prints line numbers before each line. Many commandline arguments, all usefull - so just see the man page and get excited.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Maybe that's all for today. Don't know what the night brings.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10605823-110780557399626387?l=unixcommand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixcommand.blogspot.com/feeds/110780557399626387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10605823&amp;postID=110780557399626387' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10605823/posts/default/110780557399626387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10605823/posts/default/110780557399626387'/><link rel='alternate' type='text/html' href='http://unixcommand.blogspot.com/2005/02/nl-expand.html' title='nl &amp; expand'/><author><name>sigi</name><uri>http://www.blogger.com/profile/12823922925440342559</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10605823.post-110746078402687309</id><published>2005-02-03T11:46:00.000-08:00</published><updated>2005-02-03T12:11:07.426-08:00</updated><title type='text'>Introduction &amp; netstat</title><content type='html'>As you can guess form the title, this blog is about unix-commands served on a daily basis. Now many people will say: "There are the man-pages, why should one dedicate a blog only to unix-commands!" Well, why not?&lt;br /&gt;&lt;br /&gt;We will start with the so usefull&lt;span style="font-style: italic;"&gt; netstat.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;netstat -s&lt;br /&gt;   &lt;/span&gt;Some very usefull statistics per different protcoll&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;netstat -p&lt;br /&gt;   &lt;/span&gt;Shows what processes are connecting to what ip. You'll love it, give it a try.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;netstat -r&lt;/span&gt;&lt;br /&gt;   Last but not least,  the -r argument. Now netstat prints out the kernel routing table.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10605823-110746078402687309?l=unixcommand.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unixcommand.blogspot.com/feeds/110746078402687309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10605823&amp;postID=110746078402687309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10605823/posts/default/110746078402687309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10605823/posts/default/110746078402687309'/><link rel='alternate' type='text/html' href='http://unixcommand.blogspot.com/2005/02/introduction-netstat.html' title='Introduction &amp; netstat'/><author><name>sigi</name><uri>http://www.blogger.com/profile/12823922925440342559</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
