<?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>Luke Sheldrick&#039;s Blog &#187; bash</title>
	<atom:link href="http://luke.sheldrick.co.uk/blog/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://luke.sheldrick.co.uk/blog</link>
	<description>Just another blog site.</description>
	<lastBuildDate>Thu, 26 Jan 2012 19:18:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>/bin/bash^M: bad interpreter: No such file or directory</title>
		<link>http://luke.sheldrick.co.uk/blog/2008/11/24/binbashm-bad-interpreter-no-such-file-or-directory/</link>
		<comments>http://luke.sheldrick.co.uk/blog/2008/11/24/binbashm-bad-interpreter-no-such-file-or-directory/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 05:13:11 +0000</pubDate>
		<dc:creator>Luke Sheldrick</dc:creator>
				<category><![CDATA[IT / Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[dos2unix]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://luke.sheldrick.co.uk/blog/?p=278</guid>
		<description><![CDATA[If you&#8217;re getting the above errors, when you try to run a .sh or similar [I've seen it with perl scripts too] this is will be due to the file being in dos [windows] format, and probably written in notepad or similar. If you need to get this into unix format, it can be pretty [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re getting the above errors, when you try to run a .sh or similar [I've seen it with perl scripts too] this is will be due to the file being in dos [windows] format, and probably written in notepad or similar.</p>
<p>If you need to get this into unix format, it can be pretty painless, just run the command</p>
<p>dos2unix filename</p>
<p>dos2unix should be available under most releases of linux. Happy coding.</p>
<h3  class="related_post_title">Related Posts (auto generated)</h3><ul class="related_post"><li>18 May 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/05/18/iphone-default-shell/" title="iPhone default shell">iPhone default shell</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://luke.sheldrick.co.uk/blog/2008/11/24/binbashm-bad-interpreter-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iPhone default shell</title>
		<link>http://luke.sheldrick.co.uk/blog/2008/05/18/iphone-default-shell/</link>
		<comments>http://luke.sheldrick.co.uk/blog/2008/05/18/iphone-default-shell/#comments</comments>
		<pubDate>Sun, 18 May 2008 12:54:56 +0000</pubDate>
		<dc:creator>Luke Sheldrick</dc:creator>
				<category><![CDATA[IT / Tech]]></category>
		<category><![CDATA[1.1.4]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://luke.sheldrick.co.uk/blog/?p=78</guid>
		<description><![CDATA[Apparently, not a good idea to change to bash. I&#8217;ve been playing with my iPhone today, flashing to different firmwares..etc and everytime I SSH in, the first thing I type is bash, to get into the bash shell. So thought I would change the shell in /etc/master.passwd Well as per every other change, the iPhone [...]]]></description>
			<content:encoded><![CDATA[<p>Apparently, not a good idea to change to bash.</p>
<p>I&#8217;ve been playing with my iPhone today, flashing to different firmwares..etc and everytime I SSH in, the first thing I type is bash, to get into the bash shell.</p>
<p>So thought I would change the shell in /etc/master.passwd</p>
<p>Well as per every other change, the iPhone didn&#8217;t like that and threw all it&#8217;s toys out of the pram. SSH&#8217;ing in using mobile stopped working, if I logged in with root, I could execute anything, as it would just kill the SSH session.</p>
<p>Using terminal on the phone it&#8217;s self didn&#8217;t play either.</p>
<p>Never mind, lesson learnt.</p>
<h3  class="related_post_title">Related Posts (auto generated)</h3><ul class="related_post"><li>7 June 2011 -- <a href="http://luke.sheldrick.co.uk/blog/2011/06/07/unsecured-call/" title="Unsecured Call?">Unsecured Call?</a> (0)</li><li>18 August 2010 -- <a href="http://luke.sheldrick.co.uk/blog/2010/08/18/my-cloud-im-setup/" title="My &#8216;cloud&#8217; IM setup">My &#8216;cloud&#8217; IM setup</a> (0)</li><li>9 January 2009 -- <a href="http://luke.sheldrick.co.uk/blog/2009/01/09/new-year-a-new-toy/" title="New year &#038; a new toy">New year &#038; a new toy</a> (2)</li><li>14 December 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/12/14/where-am-i/" title="Where am I?">Where am I?</a> (0)</li><li>24 November 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/11/24/binbashm-bad-interpreter-no-such-file-or-directory/" title=" /bin/bash^M: bad interpreter: No such file or directory"> /bin/bash^M: bad interpreter: No such file or directory</a> (3)</li><li>23 November 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/11/23/iphone-firmware-22-jailbroken/" title="iPhone firmware 2.2 jailbroken">iPhone firmware 2.2 jailbroken</a> (0)</li><li>27 May 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/05/27/wait-is-almost-over/" title="Wait is almost over? ">Wait is almost over? </a> (1)</li><li>19 May 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/05/19/do-i-love-apple/" title="Do I love apple?">Do I love apple?</a> (0)</li><li>5 March 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/03/05/iphone-passwd-continued/" title="iPhone passwd continued">iPhone passwd continued</a> (0)</li><li>2 March 2008 -- <a href="http://luke.sheldrick.co.uk/blog/2008/03/02/iphone/" title="iPhone">iPhone</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://luke.sheldrick.co.uk/blog/2008/05/18/iphone-default-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

