#!/bin/bash IMAGE="PBX.img" fdisk -l ./PBX.img | grep 'PBX\.img[0-9]'