#!/bin/bash #List usable partitions of a disc fdisk -l "$1" | grep ^/dev | cut -f1 -d' ' || exit 1