Last active
August 29, 2015 14:06
-
-
Save alangarf/48b1b65d27a6fbafb03c to your computer and use it in GitHub Desktop.
Getting the disk prefix of the volumes in AWS. sda vs xvda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
disk_prefix=`lsblk | grep -e "disk /$" | cut -c -3` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment