RE: Removing downloaded Oracle software

From: Mercadante, Thomas F (LABOR) <"Mercadante,>
Date: Fri, 15 May 2009 10:41:05 -0400
Message-ID: <ABB9D76E187C5146AB5683F5A07336FF023CA70E_at_EXCNYSM0A1AJ.nysemail.nyenet>


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.


[] On Behalf Of J. Dex Sent: Friday, May 15, 2009 10:34 AM
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).  


Received on Fri May 15 2009 - 09:41:05 CDT

Original text of this message