Skip to content

Instantly share code, notes, and snippets.

@heyseus1
Created July 14, 2016 17:06
Show Gist options
  • Save heyseus1/15b048adbd52ade5c195085886d572ba to your computer and use it in GitHub Desktop.
Save heyseus1/15b048adbd52ade5c195085886d572ba to your computer and use it in GitHub Desktop.
for loop for smartctl partitions
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