Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old May 20th, 2012, 06:59 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,519
Default Wipe Free Space on Ubuntu?

Any program like CCLeaner to do this?
__________________
  #2  
Old May 20th, 2012, 07:04 PM
moontan's Avatar
moontan moontan is offline
Massive Poster
 
Join Date: Sep 2010
Location: Québec
Posts: 3,180
Default Re: Wipe Free Space on Ubuntu?

Bleachbit has this option.

it will warn you it's very slow, if i recall.
__________________
| Xubuntu || NoScript || Image for Linux + BootIt Bare Metal |
  #3  
Old May 20th, 2012, 07:05 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,519
Default Re: Wipe Free Space on Ubuntu?

I'll give bleachbit a try. Thanks.
__________________
  #4  
Old May 20th, 2012, 07:10 PM
dw426 dw426 is offline
Massive Poster
 
Join Date: Jan 2007
Posts: 5,543
Default Re: Wipe Free Space on Ubuntu?

There was time when I believed Linux didn't have these sorts of issues, that things cleanly were removed. Boy was I quickly proven wrong But yeah, Bleachbit is there for you, and I never really noticed it being too slow..though admittedly I get up and do other things during such tasks,
  #5  
Old May 20th, 2012, 07:14 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,519
Default Re: Wipe Free Space on Ubuntu?

27 minutes to wipe my 280GB Ubuntu partition. Not bad. Surprisingly fast actually... when I wiped my entire Windows 8 partitions free space (400GB) with CCleaner it took over 2 hours. More like 3.
__________________
  #6  
Old May 21st, 2012, 08:31 AM
chronomatic chronomatic is offline
Very Frequent Poster
 
Join Date: Apr 2009
Posts: 1,324
Default Re: Wipe Free Space on Ubuntu?

Quote:
Originally Posted by Hungry Man
Any program like CCLeaner to do this?

You don't need any program. All you need is the terminal and dd.

Code:
dd if=/dev/zero of=wipe_file

Let it run until it stops. Then delete "wipe_file." When you get low on disk space, you will get warnings, just ignore them. This means wiping is almost finished. If you don't want to use zeros, then change it to /dev/urandom.

NOTE: You will have to do this for each partition. Just use fdisk to see how many partitions you have. But most of the time /home is all that matters.

I never worry about wiping because I use whole disk encryption. I recommend it.
  #7  
Old May 21st, 2012, 08:44 AM
mack_guy911's Avatar
mack_guy911 mack_guy911 is offline
Very Frequent Poster
 
Join Date: Mar 2007
Posts: 2,498
Default Re: Wipe Free Space on Ubuntu?

edit: my apologies i talk like drunk

please use bleachbit carefully

i use it only for cleaning browser cache ..... flash.........etc........safe things never mess with system files including temp that i mean to say
__________________
Scientific Linux 6.2, xubuntu 11.10 *2x, Linux mint 10, Linux mint 12, opensuse 11.4, windows vista, ubuntu 10.04 and windows xp

Last edited by mack_guy911 : May 21st, 2012 at 10:08 AM.
  #8  
Old May 21st, 2012, 10:02 AM
chronomatic chronomatic is offline
Very Frequent Poster
 
Join Date: Apr 2009
Posts: 1,324
Default Re: Wipe Free Space on Ubuntu?

Quote:
Originally Posted by mack_guy911
please dont use bleachbit safely dont use root and in usermode also use safeway i use for browsers flash never used on temp they cause problem if you clean temp cache

Wow, sorry but I didn't understand a word of this. Might be easier to type it in your native language and let people use google translate.
  #9  
Old May 21st, 2012, 10:21 AM
vasa1's Avatar
vasa1 vasa1 is offline
Massive Poster
 
Join Date: May 2010
Posts: 3,989
Default Re: Wipe Free Space on Ubuntu?

Why does one "wipe free space"? Is it primarily to protect against others recovering data from the system? Or are there other advantages?
__________________
One can't be too rich, too thin, or too secure
  #10  
Old May 21st, 2012, 10:25 AM
Ocky's Avatar
Ocky Ocky is offline
Very Frequent Poster
 
Join Date: May 2006
Location: George, S.Africa
Posts: 2,538
Default Re: Wipe Free Space on Ubuntu?

Quote:
Originally Posted by mack_guy911
edit: my apologies i talk like drunk

please use bleachbit carefully

i use it only for cleaning browser cache ..... flash.........etc........safe things never mess with system files including temp that i mean to say
Don't worry, after a few drinks I understand everything you said.
__________________
Ubuntu Kubuntu Xubuntu Scientific Linux
  #11  
Old May 21st, 2012, 02:56 PM
Hungry Man's Avatar
Hungry Man Hungry Man is offline
Incredibly Massive Poster
 
Join Date: May 2011
Posts: 8,519
Default Re: Wipe Free Space on Ubuntu?

Quote:
Originally Posted by vasa1
Why does one "wipe free space"? Is it primarily to protect against others recovering data from the system? Or are there other advantages?
Yes, it's to prevent data recovery.

Quote:
Let it run until it stops. Then delete "wipe_file." When you get low on disk space, you will get warnings, just ignore them. This means wiping is almost finished. If you don't want to use zeros, then change it to /dev/urandom.

NOTE: You will have to do this for each partition. Just use fdisk to see how many partitions you have. But most of the time /home is all that matters.

I never worry about wiping because I use whole disk encryption. I recommend it.
Thanks.

Not sure if I'm going to encrypt the full disk yet.
__________________
  #12  
Old May 24th, 2012, 08:12 AM
BrandiCandi
 
Posts: n/a
Default Re: Wipe Free Space on Ubuntu?

Quote:
Originally Posted by chronomatic
You don't need any program. All you need is the terminal and dd.

Code:
dd if=/dev/zero of=wipe_file

Let it run until it stops. Then delete "wipe_file." When you get low on disk space, you will get warnings, just ignore them. This means wiping is almost finished. If you don't want to use zeros, then change it to /dev/urandom.

NOTE: You will have to do this for each partition. Just use fdisk to see how many partitions you have. But most of the time /home is all that matters.

I never worry about wiping because I use whole disk encryption. I recommend it.
+1, I was going to suggest it as soon as I saw the thread, but chronomatic beat me to it.
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:28 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums