How To Run Ksh Script In Unix
bash) would have been something I'd also have tried, as was suggested. What did John Templeton mean when he said that the four most dangerous words in investing are: ‘this time it’s different'? share|improve this answer answered May 5 '12 at 23:04 rackandboneman 1,97448 add a comment| up vote 0 down vote Alright, I don't have an answer. U might be hitting that issue.
Edit: It doesn't tell if it's a script or a binary, but assuming your 'ls -l' output is correct, then you probably don't have a 93kbyte script... Maybe it's the fact it is in ksh? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed If you want to make it executable from anywhere try putting it in a directory in the path, or add a directory to it, where you keep your scripts. –Tim Jul http://unix.stackexchange.com/questions/144691/shell-script-not-executing
How To Run Ksh Script In Unix
See the answer to this question here. wmp Go to Solution 7 Comments LVL 68 Overall: Level 68 Unix OS 53 Shell Scripting 30 Message Active today Accepted Solution by:woolmilkporc2009-11-11 ksh ./lh or chmod +x ./lh and Thanks Jamie James S. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
Cannot execute generally means that the loader invoked is unable to figure out the format of the file being executed. In fact, you should do these three command and post the output: file lh ls -l lh head lh 0 LVL 7 Overall: Level 7 Shell Scripting 4 Unix OS unix.stackexchange.com/questions/134581/… –Ramesh Jul 15 '14 at 19:22 The following command fixed it: add export PATH=$PATH:. Ksh Not Found Error In Unix You may also note that ms-windows has more virus problems. –richard Jul 15 '14 at 22:11 add a comment| up vote 4 down vote When you type a command, the shell
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. linux ksh share|improve this question edited Apr 13 '12 at 0:17 asked Apr 11 '12 at 23:50 Peeter Joot 255413 2 Your scripting kung-fu is awesome. –Jeff Ferland Apr 12 the file no will contain numbers without the leading zeros like so: 2486 1009 6750 1126 8836 1125 8649 1060 1057 9849 7082 8847 Then after some header crap echoes out https://www.experts-exchange.com/questions/24892135/ksh-cannot-execute.html is implicitly in the PATH, this could be considered a bug in cmd, as it can not be changed.
Rajib Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Bin Ksh Not Found Jamie Brunett replied Jan 16, 2006 OK, I think I found the culprit or it was pointed out to me. Try running the full path, e.g., "/home/user/delete_script.ksh" etc, and make sure the privs are set correctly (do a 'chmod +x filename' first to make sure...) Cheers, Jonathan Top Best Answer 0 Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.
Ksh Not Found No Such File Or Directory
That's close, but the filesize check needs to check if the size is 0 or >6 ssmith001 View Public Profile Find all posts by ssmith001 #4 02-26-2007 sb008 What did John Templeton mean when he said that the four most dangerous words in investing are: ‘this time it’s different'? How To Run Ksh Script In Unix How to make plots 'blacker'? Ksh Cannot Execute I have as you can see full path but I am also making a call to the user profile as my first command.
I did say dumb right? Code: #!/usr/bin/ksh set -x dirname=/opt/manu/srv ...... Remove advertisements Sponsored Links sb008 View Public Profile Find all posts by sb008