<?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>Helm&#039;s Technology Blog &#187; ssh</title>
	<atom:link href="http://www.ihelm.org.uk/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ihelm.org.uk</link>
	<description>Linux Servers, Cpanel and Mysql along with my own tech thoughts</description>
	<lastBuildDate>Sun, 11 Jul 2010 10:50:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>rm  Argument list too long.. Linux Huh? moment.</title>
		<link>http://www.ihelm.org.uk/2009/06/rm-argument-list-too-long-linux-huh-moment/</link>
		<comments>http://www.ihelm.org.uk/2009/06/rm-argument-list-too-long-linux-huh-moment/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 20:08:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=38</guid>
		<description><![CDATA[I recently had a little problem when deleting a store of spam e-mails off one of my personal servers. Basically entering the standard death defying command of &#8220;rm -Rfv *&#8221; while in a directory (this will delete everything recursively &#8211; have fun), the system responded &#8220;Argument list too long&#8221; &#8211; cue the first &#8220;huh?&#8221; moment [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a little problem when deleting a store of spam e-mails off one of my personal servers.</p>
<p>Basically entering the standard death defying command of &#8220;rm -Rfv *&#8221; while in a directory (this will delete everything recursively &#8211; have fun), the system responded &#8220;Argument list too long&#8221; &#8211; cue the first &#8220;huh?&#8221; moment &#8211; I&#8217;ve used the command for years and years, never had a problem.</p>
<p>I did &#8220;man rm&#8221; to check I hadn&#8217;t had a &#8220;moment&#8221; and forgotten how to use it &#8211; nope.. . A little trawling came up with several people with the same problem but no really practical solutions.  The problem occurs when you have too many files for the built in systems used by the rm command in the kernel &#8211; these are pretty old so have some limits that you don&#8217;t expect! &#8211; you can do this:</p>
<p>rm -Rfv a* then rm -Rfv A* &#8211;  these deletes all files starting with a or A etc.. &#8211; very long and rather silly &#8211; so after thinking and thinking and muttering an old command came to mind <img src='http://www.ihelm.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   using a combination of find and xargs you can pipe a file on at a time so here we go &#8211; my favoured solution:</p>
<p>find . -name * | xargs rm -fv</p>
<p>This works fine &#8211; I suspect it will have a limit somewhere, but my server hasn&#8217;t hit it yet!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2009/06/rm-argument-list-too-long-linux-huh-moment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Putty &#8211; for SSH</title>
		<link>http://www.ihelm.org.uk/2007/09/putty-for-ssh/</link>
		<comments>http://www.ihelm.org.uk/2007/09/putty-for-ssh/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 21:29:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[max os x]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.ihelm.org.uk/?p=25</guid>
		<description><![CDATA[I have ubuntu (kubuntu) on my desktop - this is nearly always on and is great.

I then have a Mac in the office at work - running Mac OS X.

generally apart from keyboard issues (as i don't have a Mac Keyboard so sometimes the mappings go wonky) - the Mac is fine - no probs, but in order to access SSH the Mac just doesn't have anything to touch Putty.]]></description>
			<content:encoded><![CDATA[<p>Ok &#8211; I use 3 distinctly different operating systems routinely.</p>
<p>I have windows XP &#8211; this is on my laptop and also have a copy on my desktop &#8211; though this rarely runs it now.</p>
<p>I have ubuntu (kubuntu) on my desktop &#8211; this is nearly always on and is great.</p>
<p>I then have a Mac in the office at work &#8211; running Mac OS X.</p>
<p>generally apart from keyboard issues (as i don&#8217;t have a Mac Keyboard so sometimes the mappings go wonky) &#8211; the Mac is fine &#8211; no probs, but in order to access SSH the Mac just doesn&#8217;t have anything to touch Putty.</p>
<p>Putty is a very well known and very popular SSH client &#8211; I&#8217;ve been using it since around 2003 &#8211; maybe earlier.  It exists for windows and this appears to be where it is primarily developed for &#8211; and it&#8217;s great &#8211; never seen a better SSH client &#8211; does what&#8217;s needed &#8211; nice and clean, lets you save session data etc&#8230;</p>
<p>It exists for Linux &#8211; so I have in it my ubuntu install &#8211; don&#8217;t recall how I got it &#8211; but it&#8217;s pretty much like the windows client &#8211; few little quirks but it&#8217;s putty and i can use it.<br />
But when it comes to the Mac &#8211; I&#8217;ve hunted &#8211; searched &#8211; tried someones build &#8211; didn&#8217;t work &#8211; got the source &#8211; can&#8217;t compile it!  Why does no real equivalent of Putty exist  - theres a few that pretend to be &#8211; buth when you are administrating multiple servers they just don&#8217;t quite cut it!</p>
<p>The problem is it&#8217;s not just Putty &#8211; theres a handful of programs that seem to be available on &#8220;free&#8221; operating systems like ubuntu which help people who have come from windows &#8211; and who &#8211; to be honest &#8211; like to use a graphical interface sometimes &#8211; which just aren&#8217;t available on the Mac &#8211; I am sure this works the other way &#8211; problem is the Apple want the Mac to be more mainstream and whilst they are making progress &#8211; it&#8217;s just not there yet&#8230;</p>
<p>P.s. I am sure I will rant about how useless windows is &#8211; and ubuntu at some point &#8211; in fact I feel a Ubuntu rant coming along soon&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ihelm.org.uk/2007/09/putty-for-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->