Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2020 08:30:25 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        Jos Chrispijn <bsduser@cloudzeeland.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rm | Cleaning up recycle bin
Message-ID:  <5E527E71.2080904@gmail.com>
In-Reply-To: <a589bf69-a53b-a732-08ff-74e09b723bbd@cloudzeeland.nl>
References:  <a589bf69-a53b-a732-08ff-74e09b723bbd@cloudzeeland.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E527E71.2080904>