RE: Removing downloaded Oracle software

  • From: "Mercadante, Thomas F (LABOR)" <Thomas.Mercadante@xxxxxxxxxxxxxxxxx>
  • To: <cemail_219@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 15 May 2009 10:41:05 -0400

Dex,

 

I always do the following:

 

cd /u04/db_files/directory_to_be_removed



ls to get a list of the directories.

rm -rf (directory name) (directory name) (directory name)

 

 

This limits your exposure to just the directory you named.  You could
obviously do an rm -rf * within that directory instead of listing each
individual directory if you wanted to.


Hope this helps.


Tom

 

 

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of J. Dex
Sent: Friday, May 15, 2009 10:34 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: Removing downloaded Oracle software

 

I am nervous about doing this since it is Linux versus other OS.  What
is the correct command to use to remove a directory and all of the files
that fall under that directory without receiving questions back about
whether or not want to remove various files within the that directory?
In other words, using the example below, I want to remove the
"directory_to_be_removed" including any files that are in it without
having to respond yes repeatedly?   The directory being removed is
actually downloaded Oracle software from CD (but not the location where
the install of the software itself is actually located at).
 
/u04/db_files/directory_to_be_removed



Other related posts: