#!/bin/bash
for i in {a..z}
do smartctl -a /dev/sd$i | grep -i "drive temperature" smartctl -a /dev/sda$i | grep -i "drive temperature" done