rm | Cleaning up recycle bin

Ernie Luzar luzar722 at gmail.com
Sun Feb 23 13:30:28 UTC 2020


Jos Chrispijn wrote:
> I read somewhere that using the rm command does not phsyically remove 
> the 'deleted' files when using the command in a terminal session. Can 
> you tell me how/where I can really remove these files (as per user 
> account or in general)? Thanks!
> 
> Best, Jos

To write zeros to existing file before removing that file

dd if=/dev/zero of=/path/filename bs=1m ; rm /path/filename



More information about the freebsd-questions mailing list