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