<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shell error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413904#M353389</link>
    <description>&amp;gt; ksh: ./test.ksh: not found.&lt;BR /&gt;&lt;BR /&gt;This means that 'ksh' is complaining that the script file ./test.ksh is missing...&lt;BR /&gt;</description>
    <pubDate>Wed, 06 May 2009 06:29:32 GMT</pubDate>
    <dc:creator>Venkatesh BL</dc:creator>
    <dc:date>2009-05-06T06:29:32Z</dc:date>
    <item>
      <title>Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413900#M353385</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;I am getting below error , after exicuting script.&lt;BR /&gt;&lt;BR /&gt;interpreter "/bin/ksh" not found&lt;BR /&gt;file link resolves to "/usr/bin/ksh"&lt;BR /&gt;ksh: ./test.ksh:  not found.&lt;BR /&gt;&lt;BR /&gt;user is using /bin/ksh shell also.&lt;BR /&gt;&lt;BR /&gt;Please assist.</description>
      <pubDate>Wed, 06 May 2009 06:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413900#M353385</guid>
      <dc:creator>pratibha_kajbale</dc:creator>
      <dc:date>2009-05-06T06:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413901#M353386</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;What did you put #/usr/bin/ksh or /usr/bin/ksh ?&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Wed, 06 May 2009 06:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413901#M353386</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-06T06:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413902#M353387</link>
      <description>Hi Suraj,&lt;BR /&gt;&lt;BR /&gt;I put #/bin/ksh&lt;BR /&gt;Also tried with #/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 May 2009 06:21:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413902#M353387</guid>
      <dc:creator>pratibha_kajbale</dc:creator>
      <dc:date>2009-05-06T06:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413903#M353388</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;please check, if the first (and the following lines of the script as well) does not end with a windows line termination (carriage return + linefeed).&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 06 May 2009 06:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413903#M353388</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2009-05-06T06:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413904#M353389</link>
      <description>&amp;gt; ksh: ./test.ksh: not found.&lt;BR /&gt;&lt;BR /&gt;This means that 'ksh' is complaining that the script file ./test.ksh is missing...&lt;BR /&gt;</description>
      <pubDate>Wed, 06 May 2009 06:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413904#M353389</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2009-05-06T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413905#M353390</link>
      <description>Hi Pratibha,&lt;BR /&gt;&lt;BR /&gt;can you post your script &lt;BR /&gt;or try like this&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Wed, 06 May 2009 08:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413905#M353390</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-06T08:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413906#M353391</link>
      <description>what's the output from&lt;BR /&gt;&lt;BR /&gt;ls -l /bin/ksh /usr/bin/ksh</description>
      <pubDate>Wed, 06 May 2009 13:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413906#M353391</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-05-06T13:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413907#M353392</link>
      <description>Edit your script with vi.&lt;BR /&gt;enter the following command :&lt;BR /&gt;:set list&lt;BR /&gt;&lt;BR /&gt;and look if you have any ^M caracters at line end.&lt;BR /&gt;delete them if you find it.&lt;BR /&gt;&lt;BR /&gt;check with an echo $PWD in you script to verify you are in the correct dir (which contains test.ksh).&lt;BR /&gt;&lt;BR /&gt;i've also had your problem with a customer script, he has modified its ~/.profile file by adding :&lt;BR /&gt;ENV=~/.khshrc&lt;BR /&gt;&lt;BR /&gt;i spent some time to find it ...&lt;BR /&gt;&lt;BR /&gt;so check your environment vars.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Wed, 06 May 2009 13:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413907#M353392</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2009-05-06T13:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413908#M353393</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You probably modified (or created) you file on a Windows server and added carriage-returns to its lines.  See my comments here along with the poster's problem description (which matches yours):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1336139" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1336139&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 06 May 2009 18:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413908#M353393</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-05-06T18:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413909#M353394</link>
      <description>Hi Cedrick ,&lt;BR /&gt;&lt;BR /&gt;You mean to say need to add ENV=~/.khshrc in to users .profile?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Thu, 07 May 2009 03:22:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413909#M353394</guid>
      <dc:creator>pratibha_kajbale</dc:creator>
      <dc:date>2009-05-07T03:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413910#M353395</link>
      <description>&amp;gt;You mean to say need to add ENV=~/.khshrc in to user's .profile?&lt;BR /&gt;&lt;BR /&gt;I think Cedrick meant it was a typo in that filename that caused a similar error.&lt;BR /&gt;</description>
      <pubDate>Thu, 07 May 2009 06:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413910#M353395</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-07T06:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Shell error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413911#M353396</link>
      <description>Exact Dennis,&lt;BR /&gt;&lt;BR /&gt;ENV=~/.kshrc&lt;BR /&gt;is a typo you must not reproduce.&lt;BR /&gt;&lt;BR /&gt;a user made this typo and it cause problems like yours.&lt;BR /&gt;so just verify your environment variables for typo if any.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Thu, 07 May 2009 09:13:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-error/m-p/4413911#M353396</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2009-05-07T09:13:43Z</dc:date>
    </item>
  </channel>
</rss>

