I have a script I am working on that I need to cut out part of the output from a command. For example:
read -p "Enter the drive from the list above (example: /dev/sda1): " drive
blkid | grep $drive # <-- This is where I am stuck. I want to sort out the UUID, PARTUUID, and...