Code: Select all
#!/bin/bash
sudo hddtemp /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1 /dev/sdj1 && printf "\nSamsung SSD 980 PRO 1TB\n" && sudo nvme smart-log /dev/nvme0n1p2 | grep temp
Code: Select all
#!/bin/bash
sudo hddtemp /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1 /dev/sdj1 && printf "\nSamsung SSD 980 PRO 1TB\n" && sudo nvme smart-log /dev/nvme0n1p2 | grep temp