Code: [email protected] su, password: [email protected] # rmdir -pv -ignore-fail-on-non-empty /mnt/lfs/sources/glibc-build rmdir: removing directory, /mnt/lfs/sources/glibc-build [email protected] # ls /mnt/lfs/sources/glibc-build/ still showing them there.
quot;: rm -rf directory name path etc": rm -rf /path/to/directory Noted with thanks.
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/ root rmdir -p -ignore-fail-on-non-empty./sources/glibc-2.3.Org Forums Linux Forums Linux - Distributions Linux From Scratch All times are GMT -5.Satimis satimis, 10:35 PM # 2 masand LQ Guru Registered: May 2003 Location: india Distribution: Ubuntu, Solaris, CentOS Posts: 5,522 Rep: try rm -rf directory name path etc use this with caution do not end up deleting all files on ur root regards 1 members.Root ls -a./sources/ tapped out no hack grep glibc-2.3.Glibc-2.3., they are still there.Masand, 11:43 PM # 3 i am alive game satimis Senior Member Registered: Apr 2003 Posts: 3,672 Original Poster Rep: Hi masand, Tks for your advice.
2) Login as 'su -' on FC3 host.
Zzypty Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On IMG code is Off html code is Off Forum Rules LinuxQuestions.
Root rmdir -p -ignore-fail-on-non-empty./sources/glibc-build root ls -a./sources/ grep glibc-build glibc-build root rmdir -pv -ignore-fail-on-non-empty./sources/glibc-build rmdir: removing directory,./sources/glibc-build root ls -a./sources/ grep glibc-build glibc-build root rmdir -pv -ignore-fail-on-non-empty./sources/glibc-2.3.
A wrong path might delete some important files off your computer.
Senior Member, registered: Apr 2003, posts: 3,672, rep: Removing non-empty directory.Finally starting Konqueror as root on Konsole, I can remove them on Konqueror.Please be very careful when deleting files as root.Password, linux From Scratch, this Forum is for the discussion of LFS.Please advise what was the trick behind.LFS is a project that provides you with the steps necessary to build your own custom Linux system.I'm trying to remove not empty directory and your post has provide me good help., 04:58 AM # 6 zzypty LQ Newbie Registered: Mar 2009 Posts: 13 Rep: Removing non-empty directories Hey, The best way to remove a directory is": rm -r For.In my personal opinion it will be more safe to remove them on 'Konqueror'.Notices, 10:24 PM # 1 satimis.User Name, remember Me?