0
Thanks

A few words of thanks would be greatly appreciated.

Ubuntu - Delete a file without going through the Trash bin





When you delete a file under Nautilus (the file browser of Ubuntu), it is moved to the Trash.
This is not always desirable, especially for large files.

Here's how to really delete the files:

Keyboard shortcut

  • Press the Shift key and select your file
  • While holding the Shift key, press the Delete key.

Nautilus context menu

  • Type in a terminal: gconftool-2 --type bool --set/apps/nautilus/preferences/enable_delete "1"

(You can also make this modification using the program gconf-editor)
  • You can now delete files directly (right click on the object and press Delete)

Note that

  • It is quite possible to use both methods.
  • You can delete a file directly from the command line by typing rm filename in a terminal.
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Ubuntu - Delete a file without going through the Trash bin », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

0 Comments