Terminal Command To See If Hard Drive Is Using SATA2 / SATA3 ?

Hi,

Is there a terminal command to see if hard drive is using SATA2 or SATA3 ?
Running current openSUSE Tumbleweed KDE 64Bit.

Let me know, thanks!

Jesse

dmesg | grep -i sata | grep 'link up'

@JeZxLee:

With the user “root”, each drive’s SMART data provides detailed SATA version information:

# smartctl -i /dev/sda
  • Use either “ls /dev/sd?” or “lsblk --all” to find all the “/dev/sd[a-z]” drives on the system …