Created
July 14, 2016 17:06
-
-
Save heyseus1/15b048adbd52ade5c195085886d572ba to your computer and use it in GitHub Desktop.
for loop for smartctl partitions
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
for i in {a..z}; do smartctl -H -x /dev/sd${i}; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment