<?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: how to kill script with trap command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824822#M940375</link>
    <description>I think you only need to specify this code at the beginning of your script.&lt;BR /&gt;trap '' 2&lt;BR /&gt;&lt;BR /&gt;2 is meant for interupt or ctrl + c.</description>
    <pubDate>Mon, 14 Oct 2002 08:55:05 GMT</pubDate>
    <dc:creator>Chua Wen Ching</dc:creator>
    <dc:date>2002-10-14T08:55:05Z</dc:date>
    <item>
      <title>how to kill script with trap command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824820#M940373</link>
      <description>Does anyone know how to create a shell script that has endless loop of printing the word "looping" on the screen continuously and cannot be interrupted by Ctrl-C break key. How do I kill the script then?&lt;BR /&gt;How do I write this shell script by using 'trap'?&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Oct 2002 03:34:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824820#M940373</guid>
      <dc:creator>cybermilky</dc:creator>
      <dc:date>2002-10-14T03:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill script with trap command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824821#M940374</link>
      <description>Why ?&lt;BR /&gt;that sounds like planing a joke&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 14 Oct 2002 05:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824821#M940374</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2002-10-14T05:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill script with trap command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824822#M940375</link>
      <description>I think you only need to specify this code at the beginning of your script.&lt;BR /&gt;trap '' 2&lt;BR /&gt;&lt;BR /&gt;2 is meant for interupt or ctrl + c.</description>
      <pubDate>Mon, 14 Oct 2002 08:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824822#M940375</guid>
      <dc:creator>Chua Wen Ching</dc:creator>
      <dc:date>2002-10-14T08:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill script with trap command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824823#M940376</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My guess is that you would be able to kill the script by suspending it (CTRL+Z). Then, find out the job id with the "jobs" command and kill the job using "kill" (e.g. "kill %1" if the job number is 1).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vincent</description>
      <pubDate>Mon, 14 Oct 2002 08:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824823#M940376</guid>
      <dc:creator>Vincent Stedema</dc:creator>
      <dc:date>2002-10-14T08:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to kill script with trap command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824824#M940377</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Please do not use the expertise on the forum to answer your exam or project problems.&lt;BR /&gt;&lt;BR /&gt;We will help if you at least made an attempt and posted your attempt at a script.&lt;BR /&gt;&lt;BR /&gt;But we will not do your project/homework for you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Mon, 14 Oct 2002 09:46:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-kill-script-with-trap-command/m-p/2824824#M940377</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-14T09:46:48Z</dc:date>
    </item>
  </channel>
</rss>

