If you really want to zap a file in Linux and be sure that it can’t be ever recovered, use the shred command. shred -u -z -v filename will not only delete the file but also overwrite the sectors it resided in 25 times, making recovery impossible.
If you really want to zap a file in Linux and be sure that it can’t be ever recovered, use the shred command. shred -u -z -v filename will not only delete the file but also overwrite the sectors it resided in 25 times, making recovery impossible.