I used Macs since the iMac G3 was released but over the course of the last decade I got more and more into LINUX and BSD. Partly because Macs get worse and worse over the years but that’s a different story.
One of the tools on the macOS Terminal I use quite often is ‘diskutil’ with options like ‘eraseDisk’, ‘reformat’, ‘zeroDisk’, ‘randomDisk’ and ‘secureErase’ it has become one of my favourite CLI tools. These days I use a lot of Debian and Arch but I haven’t found an alternative to ‘diskutil’ yet.
Do you know a tool under LINUX that is similar to ‘diskutil’?
dd and if=/dev/zero or if=/dev/urandom to brick filesystems/clear disks
gdisk for creating, clearing, modifying partitions
shred, srm and other similar to secure delete https://wiki.archlinux.org/index.php/Securely_wipe_disk
I’m not dogmatic about such things, but as a user of many, many OSes over the years, linux/unix have generally been designed specifically eschewing the Grand Unified Function/Tool approach explicitly.
“Do one thing and do it well” then use scripting to put them together is the design philosophy so you may not find what you are looking for if macOS is your benchmark.
now that you mention ist, I think I could write a bash script that acts like the frontend I want and uses gdisk, dd … etc in the background. I somehow never thought about it before … sorry.