<?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: sh program in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386645#M714002</link>
    <description>Even though, i did not get question reply, let's go with on sh program now.&lt;BR /&gt;&lt;BR /&gt;UNIX are allocating shell to execute commands to interact kernel for the execution of that command.&lt;BR /&gt;&lt;BR /&gt;shell programming are used to combine sequence of shell commands / conditionals / etc in a file and execute them there.&lt;BR /&gt;&lt;BR /&gt;Different kind of shells are available as,&lt;BR /&gt;sh(rsh),sh-posix,ksh(rksh),csh,tcsh,bash ( advanced one )&lt;BR /&gt;&lt;BR /&gt;See man page for sh, sh-posix there as,&lt;BR /&gt;man sh&lt;BR /&gt;man sh-posix&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 25 Sep 2004 05:06:34 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2004-09-25T05:06:34Z</dc:date>
    <item>
      <title>sh program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386641#M713998</link>
      <description>I am novice in UNIX can someone give me a sh  shell program for the above question?</description>
      <pubDate>Sat, 25 Sep 2004 02:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386641#M713998</guid>
      <dc:creator>sandeep_27</dc:creator>
      <dc:date>2004-09-25T02:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: sh program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386642#M713999</link>
      <description>sandeep,&lt;BR /&gt;&lt;BR /&gt;where is your shell program question?</description>
      <pubDate>Sat, 25 Sep 2004 02:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386642#M713999</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-25T02:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: sh program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386643#M714000</link>
      <description>Hi Sandeep,&lt;BR /&gt;&lt;BR /&gt;Welcome to the forums.&lt;BR /&gt;Your question is either incomplete or not clear..&lt;BR /&gt;Could you please clear it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Sep 2004 02:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386643#M714000</guid>
      <dc:creator>Shaikh Imran</dc:creator>
      <dc:date>2004-09-25T02:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: sh program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386644#M714001</link>
      <description>Sandeep,&lt;BR /&gt;Didn't get your question exactly.&lt;BR /&gt;Well, all unix flavors comes with some default shells with them, like HPunix has POSIX as default shell, SCOunix comes with Bourne Shell as default shell, and so on..&lt;BR /&gt;What you want i guess is the program i.e. sh program as your subject is saying which is nothing but the script.&lt;BR /&gt;&lt;BR /&gt;# sh program&lt;BR /&gt;&lt;BR /&gt;Now this program is the script written as per the syntax of that particular shell e.g. script written for POSIX shell could be different than written for bourne or Korn shell.&lt;BR /&gt;&lt;BR /&gt;If you want to know what shell your UNIX has and like to learn more about it then do this:&lt;BR /&gt;&lt;BR /&gt;1. # env | grep SHELL&lt;BR /&gt;It will display "/usr/bin/sh" if it is POSIX&lt;BR /&gt;2. # man sh-posix&lt;BR /&gt;Go thr' the man pages thoroughly and you will be able to write script for Posix shell.&lt;BR /&gt;3. # chmod +x program&lt;BR /&gt;Now assuming you have written a script with name "program", you have to change it's mode to executable as shown above.&lt;BR /&gt;4. # sh program&lt;BR /&gt;Now this is how you can execute your program i.e. script.&lt;BR /&gt;&lt;BR /&gt;Hope i understood you and you understood me. :))&lt;BR /&gt;&lt;BR /&gt;All the best.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Sep 2004 02:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386644#M714001</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-09-25T02:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: sh program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386645#M714002</link>
      <description>Even though, i did not get question reply, let's go with on sh program now.&lt;BR /&gt;&lt;BR /&gt;UNIX are allocating shell to execute commands to interact kernel for the execution of that command.&lt;BR /&gt;&lt;BR /&gt;shell programming are used to combine sequence of shell commands / conditionals / etc in a file and execute them there.&lt;BR /&gt;&lt;BR /&gt;Different kind of shells are available as,&lt;BR /&gt;sh(rsh),sh-posix,ksh(rksh),csh,tcsh,bash ( advanced one )&lt;BR /&gt;&lt;BR /&gt;See man page for sh, sh-posix there as,&lt;BR /&gt;man sh&lt;BR /&gt;man sh-posix&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Sep 2004 05:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-program/m-p/3386645#M714002</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-25T05:06:34Z</dc:date>
    </item>
  </channel>
</rss>

