#!/bin/bash # Unmount the disk /dev/sdc1. sudo umount /dev/sdc1 # Resize partition 1 to be 128GB. # Read from standard input provide the options we want. sudo parted /dev/sdc <