<?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 Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674263#M51679</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# su -user -c command_or_script&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 01 Mar 2002 13:23:47 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2002-03-01T13:23:47Z</dc:date>
    <item>
      <title>Shell Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674262#M51678</link>
      <description>Hi guys. What should I use on a shell script in order to execute one command after other?&lt;BR /&gt;****&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;su - appltest&lt;BR /&gt;cd /ora/oraprod&lt;BR /&gt;dbstop&lt;BR /&gt;****&lt;BR /&gt;After I became user appltest what should I do to execute the next estep? I??m not able to execute the cd /ora/oraprod. The first step is executed (su - apltest) and nothing more happens.&lt;BR /&gt;Thank you in advance.</description>
      <pubDate>Fri, 01 Mar 2002 13:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674262#M51678</guid>
      <dc:creator>Ricardo_11</dc:creator>
      <dc:date>2002-03-01T13:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674263#M51679</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# su -user -c command_or_script&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 01 Mar 2002 13:23:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674263#M51679</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-03-01T13:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674264#M51680</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Sorry, there should be a blank after the hyphen and before the user (account), so it reads:&lt;BR /&gt;&lt;BR /&gt;# su - user -c command_or_script&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 01 Mar 2002 13:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674264#M51680</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-03-01T13:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674265#M51681</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# su - appltest -c "cd /ora/oraprod;./dbstop"&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 01 Mar 2002 13:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/2674265#M51681</guid>
      <dc:creator>Olivier LEGRAND</dc:creator>
      <dc:date>2002-03-01T13:28:37Z</dc:date>
    </item>
  </channel>
</rss>

