The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Domain not solved from script Sergiu-IT IP Networking 6 04-11-2008 02:52 AM
Kudda has successfully solved the downloading problems for numerous video web angelstar UNIX and Linux Applications 0 04-10-2008 02:41 AM
Xdmcp, dns, exceed broadcast solved BUT kymberm IP Networking 3 02-25-2003 07:47 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #15  
Old 11-10-2005
Registered User
 

Join Date: Jul 2005
Posts: 37
It gave an error as:
:bad interpreter :no such file or directory

In your code, I changed #! /usr/bin/ksh to #! /bin/ksh because I found the ksh is in /bin. The error insisted with changing echo to print too. I think that it may be solved if I reinstall a ksh.
Reply With Quote
Forum Sponsor
  #16  
Old 11-10-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
The interpreter is specified by
#! /usr/bin/ksh
so changing it to match your path was right. But your ksh does not sound right. Does:
/bin/ksh -c set
do anything?
Reply With Quote
  #17  
Old 11-10-2005
Registered User
 

Join Date: Jul 2005
Posts: 37
yes, it generated output of environmental variables, such as:
ENV=
HOME=
IFS=
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0