#!/bin/sh if [ $# -ne 1 ]; then echo $0 disk-to-be-deleted exit 1 fi disk=$1 sgdisk -Z "$disk" dd if=/dev/zero of=$disk bs=1M count=150