Hash : a200ea59 Author : Thomas de Grivel Date : 2021-02-20T15:53:07
Download
1 2 3 4
#!/bin/sh CPUTEMP=$(sysctl -n hw.sensors.cpu0.temp0 | cut -d\ -f 1) MBTEMP=$(sysctl -n hw.sensors.acpithinkpad0.temp0 | cut -d\ -f 1) echo "${CPUTEMP}°C ${MBTEMP}°C"