I want to wipe an SSD clean of all its partitions and data, so I can repartition it (this is not for security purposes).
I've looked at
sudo dd if=/dev/zero of=/dev/sdb bs=1M but if this just fills each partition with zeros, I'm not sure this what I want to do.
I plan to run this command quite often, and I don't want to exhaust my SSD's writes. Could anyone give me advice on tackling this problem?