Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell Problems

Status
Not open for further replies.

tree740

MIS
Jan 25, 2001
12
US
I'm having problems with starting my programs I get an error:
ex: I run a program called iwatch, to start the database I suppose to type: iwstart
But I get this error:
(interpeter "/bin/sh" not found. So I have type: sh iwstart
to get it to work.
 
see if "./iwatch" will work for you

Good luck,
Steve
 
check the first line of your iwstart script, looks like a #! line is pointing to the wrong thing Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Thanks guy but I found out the problem. For some reason /bin/sh wasn't linked to /usr/bin/sh.
/bin > /usr/bin/
 
They shouldn't really be linked.

/bin is part of the root file system, and will be available even in single user mode when no other file systems are mounted (like /usr for example) The /bin/sh shell is a statically linked version of the sh, as I understand it, so it does not rely on any other libraries being available.

I'm surprised you didn't have a dynamically linked version of sh in /usr/bin, what version of UNIX are you running? Mike
"Experience is the comb that Nature gives us after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top