New answers tagged bsd
3
votes
Using "shred" on BSD systems
rm itself has the -P flag.
OS X man page documents it as:
-P Overwrite regular files before deleting them. Files are
overwritten three times, first with the byte pattern 0xff,
then 0x00, ...
7
votes
Using "shred" on BSD systems
The answer that qorg11 gave is the technically accurate answer to your question (so go and upvote it!).
The reality is that shred is useless. All BSDs, as well as Linux, have modern file systems, ...
6
votes
Accepted
Using "shred" on BSD systems
You can install the GNU coreutils with brew install coreutils in macOS (using Homebrew), pkg install coreutils in FreeBSD, or pkg_add coreutils in OpenBSD and then run gshred, which will behave ...
Top 50 recent answers are included
Related Tags
bsd × 250freebsd × 56
linux × 50
macos × 44
openbsd × 22
gnu × 19
sed × 15
netbsd × 14
bash × 12
kernel × 9
history × 9
shell × 8
debian × 6
networking × 6
terminal × 6
compiling × 6
zfs × 6
shell-script × 5
grep × 5
linux-kernel × 5
process × 5
ls × 5
solaris × 5
tar × 5
distribution-choice × 5