#! tell the the shell to run the interpreter specified. It could be: #!/bin/bash #!/usr/bin/perl #!/usr/local/bin/wish
Or a number of things. -----Original Message----- From: Dantin [mailto:[EMAIL PROTECTED] Sent: Monday, September 09, 2002 7:17 PM To: Rom Mailing List Subject: Re: Rom in RedHat 7.3 Well if thats true /bin/csh shouldn't be there right? Well its there. If I remember right # lines are ignored. So how did you come up with that? Thanks before hand. Dantin ----- Original Message ----- From: "David Anderson" <[EMAIL PROTECTED]> To: "'Dantin'" <[EMAIL PROTECTED]>; "'Rom Mailing List'" <[email protected]> Sent: Friday, September 06, 2002 6:20 PM Subject: RE: Rom in RedHat 7.3 > [2] 1480 : bad interpreter: No such file or directoryin/csh > > > That error message is normally caused because the first line in the > shell has a invalid path to the shell that should run it. > > For example if it's a csh script the first line of the script should be > as follows: > #!/bin/csh > > That should work for redhat 7.3.... > > > You can also start the script by running the following command > Csh ./startup > > And that will execute the script in csh from the commandline. > > > Hope that helps some. I suggest getting a book on shell scripting. > There are several good ones out there, the default startup script is > written in csh, however I have replaced my startup scripts with perl > variants that do some advanced features like compiling log files, > compressing logfiles, rotating them at midnight and emailing them to me. > Also it is capable of executing gdb batch scripts if the mud crashes and > will gzip and collect core files as well. But its definitely not a > script you want to work with unless your comfortable with the unix > environment and perl. > > > David > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dantin > Sent: Friday, September 06, 2002 6:33 PM > To: Rom Mailing List > Subject: Re: Rom in RedHat 7.3 > > I appretiate the help I've gotten so far. Nevertheless it is still > not > starting. I have given all the information about this. I know your not > obligated to answer but I implore you to show mercy and help. Should I > give > all users access to csh would that fix the problem? This permission > thing is > still a little new to me. Thanks. > > Dantin > > ----- Original Message ----- > From: "Dantin" <[EMAIL PROTECTED]> > To: "Rom Mailing List" <[email protected]> > Sent: Thursday, September 05, 2002 6:13 PM > Subject: Re: Rom in RedHat 7.3 > > > > Well I looked in the usr/bin/ directory and there was a file > called > csh > > in there. Thanks > > > > Dantin > > > > ----- Original Message ----- > > From: "Michael Barton" <[EMAIL PROTECTED]> > > To: "Dantin" <[EMAIL PROTECTED]>; "Rom Mailing List" <[email protected]> > > Sent: Thursday, September 05, 2002 12:58 AM > > Subject: Re: Rom in RedHat 7.3 > > > > > > > You do not have csh installed.. (it's not installed by default) > > > Either install it, or get one of the startup scripts modified to run > in > > bash > > > (search the list archives). > > > > > > > Update after I moved the whole QuickMUD directory back to > > > > /home/pumpkin/QuickMUD I went into the area directory and typed: > > ./startup > > > & > > > > and got this error message: > > > > > > > > [2] 1480 > > > > : bad interpreter: No such file or directoryin/csh > > > > (I hit ENTER to see the rest of the error and get the prompt) > > > > [2]- Exit 126 > > > > > > > > > > > > -- > > ROM mailing list > > [email protected] > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom > -- ROM mailing list [email protected] http://www.rom.org/cgi-bin/mailman/listinfo/rom

