<?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: Interactive rm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957228#M117429</link>
    <description>Set up an alias in your .profile&lt;BR /&gt;&lt;BR /&gt;alias rm='rm -i'</description>
    <pubDate>Wed, 23 Apr 2003 09:06:14 GMT</pubDate>
    <dc:creator>Pete Ellis</dc:creator>
    <dc:date>2003-04-23T09:06:14Z</dc:date>
    <item>
      <title>Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957227#M117428</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to make the rm command to run in the interactive mode by default. What needs to be done?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# rm (filename)&lt;BR /&gt;should work like&lt;BR /&gt;# rm -i (filename) but I need to type only&lt;BR /&gt;&lt;BR /&gt;# rm (filename)&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2003 08:56:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957227#M117428</guid>
      <dc:creator>Sanjiv Sharma_1</dc:creator>
      <dc:date>2003-04-23T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957228#M117429</link>
      <description>Set up an alias in your .profile&lt;BR /&gt;&lt;BR /&gt;alias rm='rm -i'</description>
      <pubDate>Wed, 23 Apr 2003 09:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957228#M117429</guid>
      <dc:creator>Pete Ellis</dc:creator>
      <dc:date>2003-04-23T09:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957229#M117430</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;alias rm="rm -i"&lt;BR /&gt;&lt;BR /&gt;Add the above to your ~/.login or ~/.profile file.&lt;BR /&gt;&lt;BR /&gt;- ramd.</description>
      <pubDate>Wed, 23 Apr 2003 09:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957229#M117430</guid>
      <dc:creator>Ramkumar Devanathan</dc:creator>
      <dc:date>2003-04-23T09:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957230#M117431</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Simply create an alias in your $HOME/.profile:&lt;BR /&gt;&lt;BR /&gt;# alias rm='rm -i'&lt;BR /&gt;# alias rmdir='rmdir -i'&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 23 Apr 2003 09:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957230#M117431</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-04-23T09:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957231#M117432</link>
      <description>sh or ksh&lt;BR /&gt;alias rm='rm -i'&lt;BR /&gt;&lt;BR /&gt;csh&lt;BR /&gt;alias rm rm -i</description>
      <pubDate>Wed, 23 Apr 2003 09:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957231#M117432</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-04-23T09:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957232#M117433</link>
      <description>insert an alias into your .profile or into /etc/profile&lt;BR /&gt;&lt;BR /&gt;alias rm="rm -i"&lt;BR /&gt;alias rmdir="rmdir -i"</description>
      <pubDate>Wed, 23 Apr 2003 10:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957232#M117433</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-04-23T10:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957233#M117434</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; u can use alias which is the inbuilt shell command. place it in any in your .profile or in /etc/profile.&lt;BR /&gt;&lt;BR /&gt;alias rm="rm -i"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;alias name can be anything . so be careful in doing it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;radhakrishnan</description>
      <pubDate>Wed, 23 Apr 2003 10:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957233#M117434</guid>
      <dc:creator>Radhakrishnan Venkatara</dc:creator>
      <dc:date>2003-04-23T10:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957234#M117435</link>
      <description>Just add one line in your .profile file:&lt;BR /&gt;alias rm='rm -i'&lt;BR /&gt;&lt;BR /&gt;Zafar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Apr 2003 11:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957234#M117435</guid>
      <dc:creator>Zafar A. Mohammed_1</dc:creator>
      <dc:date>2003-04-23T11:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957235#M117436</link>
      <description>the solution is already given in the above messages.i just want to add a different facet.&lt;BR /&gt;&lt;BR /&gt;create a file called -i in the directory you wish to have .In shell "-" has precedence over letters and hence rm * command will be interpreted as rm -i * .</description>
      <pubDate>Wed, 23 Apr 2003 12:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957235#M117436</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2003-04-23T12:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957236#M117437</link>
      <description>Paddy,&lt;BR /&gt;  That quite interseting ... I never thought about that.  This is a clever way to pass the -i option to anyone on the system regardless of alias's.  especially if you want to protect a specific directory.&lt;BR /&gt;&lt;BR /&gt;Clever</description>
      <pubDate>Wed, 23 Apr 2003 13:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957236#M117437</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-04-23T13:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive rm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957237#M117438</link>
      <description>Paddy,&lt;BR /&gt;&lt;BR /&gt;Very cleaver, just what I was looking for</description>
      <pubDate>Wed, 23 Apr 2003 14:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/interactive-rm/m-p/2957237#M117438</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-04-23T14:32:14Z</dc:date>
    </item>
  </channel>
</rss>

