Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-13-2006, 07:13 AM   #1
Registered: Feb 2005
Distribution: ROSA
Posts: 199

Rep: Reputation: 30
File and folder deletion

What's the easiest way to delete a file and/or a folder that won't otherwise delete by the pressing of one key?
Old 02-13-2006, 07:19 AM   #2
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Er...well you either press the Delete key after selecting the item in the GUI (lol), or you can open up a terminal window and after 'cd'-ing into the directory the file/folder is contained in, type: "rm -f filename" or "rm -rf foldername/".


Old 02-13-2006, 11:45 AM   #3
LQ Newbie
Registered: Jul 2003
Location: Michigan
Distribution: Ubuntu Breezy
Posts: 16

Rep: Reputation: 0
If you don't want it to delete with one keystroke you could set up a shortcut so you have to hit "ctl-F7" to delete. Or am I completely missing what you want to do?
Old 02-13-2006, 12:36 PM   #4
Senior Member
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Just press the Delete key, and your file/folder will be moved to Trash.
Press Shift+Delete and your file/folder will be deleted permanently, bypassing the Trash Folder.
Old 02-13-2006, 01:03 PM   #5
Senior Member
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
I am not sure exactly what you mean... all of the above are ways of interpretting the OP, but I was thinking more along the lines of single click/double click? Which you can change in KDE's control panel mouse properties to set the default as double clicking... that way single click selects, then double executes. Then as duffmckagan mentioned, delete key deletes to trash...and shift delete bypasses the trash and wipes it completely.
Old 02-13-2006, 10:08 PM   #6
Senior Member
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
True. The question itself is quite unclear. Hence, people good guessers are helping in each and every way they can. ;-)


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
BASH: how to automate deletion of oldest folder big_mike_jones Programming 18 11-22-2005 03:59 PM
File Deletion mhkhalqani Linux - General 1 10-12-2005 04:08 AM
secure file deletion shawn59 Linux - Security 2 06-12-2005 10:00 PM
ROX-filer: file deletion and trash folder woland Linux - Software 0 08-23-2004 12:16 AM
Automatic deletion of spam folder? RKris Linux - General 1 05-27-2003 09:21 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 AM.

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