Removing non-empty directory
Hi folks,
I was trying to remove '/sources/glibc-build' and '/sources/glibc-2.3.4-20040701', both non-empty with following steps without success 1) on LFS after chroot Code:
root:/# rmdir -p --ignore-fail-on-non-empty ./sources/glibc-build/ 2) Login as 'su -' on FC3 host Code:
[satimis@localhost ~]$ su - Finally starting Konqueror as root on Konsole, I can remove them on Konqueror. Please advise what was the trick behind. TIA B.R. satimis |
try
rm -rf <directory name path etc> use this with caution do not end up deleting all files on ur root regards |
Hi masand,
Tks for your advice. Quote:
Quote:
In my personal opinion it will be more safe to remove them on 'Konqueror'. B.R. satimis |
well u should know about some more options
so that we u work on remote systems u are not stuck anywhere regards |
Quote:
Thanks for you post. I'm trying to remove not empty directory and your post has provide me good help. |
Removing non-empty directories
Hey,
The best way to remove a directory is Quote:
Quote:
Please be very careful when deleting files as root. Please ensure that the path to the directory is correct. A wrong path might delete some important files off your computer. |
All times are GMT -5. The time now is 10:33 AM. |