LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 03-31-2005, 02:17 PM   #1
KezzerDrix
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core
Posts: 128

Rep: Reputation: 15
Can't figure out how to delete something from my trash can. Help please


I have some folders in my trash can that wont go away. I right clicked them to check permissions and it wont let me change anything. So I fired up a Konsole and switch to root then cd'd to the trash can.

I then typed in rm "folderName"

I recieved cant remove a directory.

How do I delete a directory or a folder with a bunch of stuff in it.

Thanks
Kezz
 
Old 03-31-2005, 02:20 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Be careful with this little command, especially if you are using it as root, but rm -rf <directory name> will remove a directory no matter what. Just remember never type in rm -rf / and hit the old enter key...you'll regret it after the shock of what you did hits you.

Alunduil
 
Old 03-31-2005, 04:41 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Like the poster above me mentioned, use

Code:
rm -rf
-r means RECURSIVE which means it will go into each directory and ask you if want to delete files in the directory.

-f means FORCE which accepts 'yes' to everything.

Becareful how you use it! In the future, if you want to delete a file/folder directory without dragging it to the trash can, hold SHIFT+DEL and it will permanently delete the file/folder.
 
Old 03-31-2005, 04:44 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
There's an Empty Wastebin right click option in KDE...
 
Old 04-01-2005, 08:45 AM   #5
KezzerDrix
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core
Posts: 128

Original Poster
Rep: Reputation: 15
that worked!

Thanks you
Kezz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I delete stuff from the trash? usernameddr Mandriva 4 01-23-2005 10:44 AM
Delete without moving to trash? Nigh Unstoppabl Linux - Newbie 1 11-15-2004 01:55 AM
Unable to delete trash entropyv Mandriva 1 09-26-2004 11:29 AM
delete from trash today53 Linux - Newbie 6 11-05-2003 10:32 AM
How to delete the trash bin? BajaNick Linux - Software 4 08-20-2003 12:37 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration