Re: /bin/ksh not found

From: gilgantic (gilgantic@yahoo.com)
Date: 04/22/03


From: gilgantic@yahoo.com (gilgantic)
Date: 22 Apr 2003 08:52:15 -0700

gilgantic@yahoo.com (gilgantic) wrote in message news:<d6052717.0304212033.6416d149@posting.google.com>...
> I am getting the following error "/bin/ksh not found" when I execute a
> simple shell script. I have #!/bin/ksh at the beginning of my file. I
> tried
> #/usr/bin/ksh as well, but the same error.
>
> Do I need to modify my .profile or .kshrc file in anyway. My PATH
> variable does have the :bin and :usr/bin appended to the PATH.
>
> What options I can I try to resolve? I am know UNIX guru, I just know
> a few commands, so please keep in layman terms.
>
> Thanks!
> Gil

Well, I figured out the problem. The "testfile.ksh" was tranfered up by default
in BINARY mode, so I forced it to ASCII and it works fine.



Relevant Pages

  • Re: /bin/ksh not found
    ... > What options I can I try to resolve? ... I am know UNIX guru, ... > a few commands, so please keep in layman terms. ... so I forced it to ASCII and it works fine. ...
    (comp.unix.shell)
  • Re: /bin/ksh not found
    ... > What options I can I try to resolve? ... I am know UNIX guru, ... > a few commands, so please keep in layman terms. ... so I forced it to ASCII and it works fine. ...
    (comp.unix.programmer)
  • RANT ! SP2 !
    ... experiencing this issue you can run the following commands to resolve the ... checklist to see if SP2 has affected the server, ... Once this command completes the Help and Support service should now ...
    (microsoft.public.windows.server.sbs)
  • Re: USB mount issue
    ... am not able to resolve the issue regarding mounting USB drive. ... Attached are images of the messages I am getting. ... though I am not usre that proper info is contained ... Some important commands are reserved for the "superuser". ...
    (Ubuntu)
  • Re: user Account wont open
    ... To resolve the problem, type these commands from Start, ... > regsvr32 jscript.dll ... when I click on the User Accounts in control panel nothing ...
    (microsoft.public.windowsxp.help_and_support)