<?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 to remove bootptab entry in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524993#M24203</link>
    <description>Hi,&lt;BR /&gt;     If the entry to be removed is static then just remove the entry and copy /etc/bootptab to some /etc/bootptab.new and a small script like&lt;BR /&gt;/usr/bin/cp -p /etc/bootptab.new /etc/bootptab &lt;BR /&gt;should solve u'r purpose.&lt;BR /&gt;But is entry is variable then u can use "sed"&lt;BR /&gt;Hope it helps.&lt;BR /&gt;Ashish</description>
    <pubDate>Fri, 04 May 2001 13:17:02 GMT</pubDate>
    <dc:creator>Ashish Tripathi</dc:creator>
    <dc:date>2001-05-04T13:17:02Z</dc:date>
    <item>
      <title>Shell script to remove bootptab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524992#M24202</link>
      <description>Hi,&lt;BR /&gt;i need to remove a single entry in /etc/bootptab. This should be done by a shell script.&lt;BR /&gt;Is there someone who can supply me with this script ?&lt;BR /&gt;I think that this is quit simple, but i just start with shell programming, so i need help.&lt;BR /&gt;Thank in advance&lt;BR /&gt;Michael</description>
      <pubDate>Fri, 04 May 2001 12:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524992#M24202</guid>
      <dc:creator>justahuman</dc:creator>
      <dc:date>2001-05-04T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Shell script to remove bootptab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524993#M24203</link>
      <description>Hi,&lt;BR /&gt;     If the entry to be removed is static then just remove the entry and copy /etc/bootptab to some /etc/bootptab.new and a small script like&lt;BR /&gt;/usr/bin/cp -p /etc/bootptab.new /etc/bootptab &lt;BR /&gt;should solve u'r purpose.&lt;BR /&gt;But is entry is variable then u can use "sed"&lt;BR /&gt;Hope it helps.&lt;BR /&gt;Ashish</description>
      <pubDate>Fri, 04 May 2001 13:17:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524993#M24203</guid>
      <dc:creator>Ashish Tripathi</dc:creator>
      <dc:date>2001-05-04T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Shell script to remove bootptab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524994#M24204</link>
      <description>Here you go Micheal:&lt;BR /&gt;&lt;BR /&gt;The attached script is adapted from the 'rmbootpentry' script supplied with the JetAdmin software.&lt;BR /&gt;&lt;BR /&gt;Use it like this:&lt;BR /&gt;rmbootpentry /etc/bootptab xterm1&lt;BR /&gt;&lt;BR /&gt;where the first arg is the name of the bootptab&lt;BR /&gt;and the second arg is the short name of the entry you wish to remove.&lt;BR /&gt;&lt;BR /&gt;This should do just what you want, Clay.&lt;BR /&gt;</description>
      <pubDate>Fri, 04 May 2001 13:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524994#M24204</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-04T13:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Shell script to remove bootptab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524995#M24205</link>
      <description>#cp -p /etc/bootptab /etc/bootptab.out&lt;BR /&gt;#sed 's/your_entry//g'  /etc/bootptab.out &amp;gt; /etc/bootptab &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 04 May 2001 13:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-remove-bootptab-entry/m-p/2524995#M24205</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-04T13:26:40Z</dc:date>
    </item>
  </channel>
</rss>

