Created
September 18, 2017 09:01
-
-
Save theredfish/6a5b34a6b9d265718fbf82a16719e387 to your computer and use it in GitHub Desktop.
Get block devices with their name, type(part, disk, rom, ...), size and model's name
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
#!/bin/bash | |
lsblk -io KNAME,TYPE,SIZE,MODEL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment