|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem with script: ksh not found
Hello Guys,
what is the significance of using #!/bin/sh at the start of shell script. my default shell is ksh, when i run my script i have ksh: not found error and when i use ./myscript it works. Can anyone explain me the problem please ? tnx |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
There is a FAQ on #! at the top of a file. It is a "magic" number that opens /bin/sh as the shell.
Not found - means it cannot open ksh Try #!/bin/ksh |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Crobjob Script to Email if Problem Found | SkySmart | Shell Programming and Scripting | 2 | 07-26-2010 03:56 AM |
| E3500 Harddisk not found problem (First time user) | Harmut | Solaris | 2 | 06-19-2009 10:28 AM |
| Scripting problem - when the file is not found i want it to return to the menu | Alendrin | Shell Programming and Scripting | 2 | 03-04-2009 12:25 PM |
| No screens found problem - and I cant use keybord properly to solve!! | olddays | UNIX for Dummies Questions & Answers | 1 | 10-23-2007 07:45 PM |
| Problem MAKE cc: not found on AIX 5.3 please help me... | touny | AIX | 1 | 07-26-2005 10:09 AM |
|
|