shred

Overwrite a file to make recovery harder

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
ls -l <file>Confirm the target first
cryptsetup luksErase <device>For disks: use encryption + crypto-erase
What it does

Overwrites a file multiple times, optionally deleting it (-u).

Common flags
FlagMeaning
-uRemove the file afterwards
-nNumber of overwrite passes
-zAdd a final pass of zeros
-vShow progress
Examples
shred -vzu secret.txtOverwrite and delete · explain & risk-check →
Related
rm dd
Open the full explainer →More in Files & Archives

Reference text is hand-written and may be incomplete — check man shred for your version. Test destructive commands on a non-production system first.