<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/3280" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-05-16T06:44:31-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/3280</id>

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-16T06:44:31-04:00</updated>

		<published>2003-05-16T06:44:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20255#p20255</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20255#p20255"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20255#p20255"><![CDATA[
Write your bash codes in linux not in windows cos it's lame and he is screwing stuff.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri May 16, 2003 6:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RedAlert]]></name></author>
		<updated>2003-05-16T06:29:02-04:00</updated>

		<published>2003-05-16T06:29:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20251#p20251</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20251#p20251"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20251#p20251"><![CDATA[
Please, get a clue before telling me I'm wrong. Thank you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=393">RedAlert</a> — Fri May 16, 2003 6:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-05-16T03:42:08-04:00</updated>

		<published>2003-05-16T03:42:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20238#p20238</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20238#p20238"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20238#p20238"><![CDATA[
<blockquote class="uncited"><div>upload your script using ASCII mode with ftp from windows, not BINARY mode.<br><br>or run dos2unix on it after uploading.<br><br>that will fix all the weird errors.<br><br>note that both "cd ~/" commands in the script are unnecessary</div></blockquote>it will not fix weird errors, it will only relpace ODh OAh with 0Ah only  because dos has 2 chars for eoln and unix only 1<br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by Guest — Fri May 16, 2003 3:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RedAlert]]></name></author>
		<updated>2002-12-28T13:25:47-04:00</updated>

		<published>2002-12-28T13:25:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14650#p14650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14650#p14650"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14650#p14650"><![CDATA[
upload your script using ASCII mode with ftp from windows, not BINARY mode.<br><br>or run dos2unix on it after uploading.<br><br>that will fix all the weird errors.<br><br>note that both "cd ~/" commands in the script are unnecessary<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=393">RedAlert</a> — Sat Dec 28, 2002 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-12-23T12:43:18-04:00</updated>

		<published>2002-12-23T12:43:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14530#p14530</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14530#p14530"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14530#p14530"><![CDATA[
have you tried<br><blockquote class="uncited"><div>#!/usr/local/bin/bash</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Dec 23, 2002 12:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[The Mad One]]></name></author>
		<updated>2002-12-20T12:41:29-04:00</updated>

		<published>2002-12-20T12:41:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14463#p14463</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14463#p14463"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14463#p14463"><![CDATA[
it doesnt look like i have direct access to the bin directory<br><br>also heres some things that might help<br><br>[WeOwn@oracle (~)]$ echo $SHELL<br>/usr/local/bin/bash<br><br>[WeOwn@oracle (~)]$ whereis sh<br>sh: /bin/sh /usr/share/man/man1/sh.1.gz<br><br>i dont know what else to do  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2003">The Mad One</a> — Fri Dec 20, 2002 12:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-20T11:41:11-04:00</updated>

		<published>2002-12-20T11:41:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14462#p14462</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14462#p14462"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14462#p14462"><![CDATA[
Actually you didnt mention that...<br><br>I take it you have chmodded it correctly - other than that go into the /bin dir and check to see which shells you have access to..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Fri Dec 20, 2002 11:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[The Mad One]]></name></author>
		<updated>2002-12-20T10:55:39-04:00</updated>

		<published>2002-12-20T10:55:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14460#p14460</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14460#p14460"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14460#p14460"><![CDATA[
I'm with pyroshells and they are running FreeBSD 4.7 stable<br><br>but as I said in my first post #!/bin/bash and #!/bin/sh<br><br>both give this error:<br><br>: bad interpreter: No such file or directory<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2003">The Mad One</a> — Fri Dec 20, 2002 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Photon]]></name></author>
		<updated>2002-12-20T08:00:44-04:00</updated>

		<published>2002-12-20T08:00:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14450#p14450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14450#p14450"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14450#p14450"><![CDATA[
It would be helpful to know which shell you are actually running...<br><br>for example, it could be <br><br>#!/bin/bash (like on debian....) or #!/bin/ksh - the list goes on.<br><br>Unfortunately I cant remember how to discover which shell you are actually running... I think there is a command which will show it up, so try searching the web.<br><br>[EDIT]<br><br>Having reread the topic title, I'm guessing its #!bin/bash<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1824">Photon</a> — Fri Dec 20, 2002 8:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[The Mad One]]></name></author>
		<updated>2002-12-19T22:57:21-04:00</updated>

		<published>2002-12-19T22:57:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=14439#p14439</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=14439#p14439"/>
		<title type="html"><![CDATA[Bash Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=14439#p14439"><![CDATA[
I really need help with this bash script and i have NO idea how whats wrong with it let alone how to fix it, its basically a script to start 3 programs in one command so it should be "simple"<br><div class="codebox"><p>Code: </p><pre><code>#!/bin/sh# This is the crontab script for pisg.## Please change the following path to your pisg-directory.PISG=~/pisgPEPISG=~/pepisgSTATS=~/psychostats# the rest should be kept as isecho "Starting IRC Stats Processing.."cd $PISG./pisg --silentecho "Completed!"cd ~/echo "Starting PE IRC Stats Processing.."cd $PEPISG./pisg --silentecho "Completed!"cd ~/echo "Starting Server Stats Processing.."cd $STATSnice ./stats.plecho "All Jobs Completed!"</code></pre></div>but when i start it i get this message:<br><br>: bad interpreter: No such file or directory<br><br>i know its something to do with this "#!/bin/sh" but i dont know what to do with it when i remove it and start this script i just get this junk:<br>[WeOwn@oracle (~)]$ ./stats<br>: command not found<br>: command not found<br>: command not found<br>Starting KOD IRC Stats Processing..<br>: No such file or directory/WeOwn/pisg<br>./stats: line 14: ./pisg: is a directory<br>Completed!<br>: No such file or directory/WeOwn/<br>: command not found<br>Starting PE IRC Stats Processing..<br>: No such file or directory/WeOwn/pepisg<br>./stats: line 20: ./pisg: is a directory<br>Completed!<br>: No such file or directory/WeOwn/<br>: command not found<br>Starting KOD Server Stats Processing..<br>: No such file or directory/WeOwn/psychostats<br>: No such file or directory<br>All Jobs Completed!<br><br>any help would be apreciated :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2003">The Mad One</a> — Thu Dec 19, 2002 10:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
