LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Why a directory can not be able rmdir? (https://www.linuxquestions.org/questions/linux-software-2/why-a-directory-can-not-be-able-rmdir-385069/)

backpacker 11-21-2005 02:07 AM

Why a directory can not be able rmdir?
 
I have happened to install tow versions of php,php-4 and php-5,later I want drop off php-5.I issured the command rmdir,but php-5 remained there.Why and how can I delete completly the software?

loonix 11-21-2005 02:36 AM

First thing is if you want to ask for help then give as much information as possible.
What command did you give to remove the dir ?
please give this exactly.
ie
Code:

hostname# rm -rf <dir to remove>
also make sure you have permission to remove the dir.



Cheers
Mick Pollard
aka lunix-aus
http://www.lunix.com.au

heema 11-21-2005 06:00 AM

rmdir only removes empty directories

mr_demilord 11-21-2005 06:07 AM

if you want to delete a directory with file do cd to the directory where the directory is you want to delete example cd /directory/
then do rm -rf directory_you_want_to_delete


All times are GMT -5. The time now is 03:33 AM.