Hash : cfb52c65 Author : Thomas de Grivel Date : 2023-01-24T14:55:38
Download
1 2 3 4
#!/bin/sh CPUTEMP=$(sysctl -n hw.sensors.cpu0.temp0 | cut -d\ -f 1) MBTEMP=$(sysctl -n hw.sensors.acpitz0.temp0 | cut -d\ -f 1) echo "${CPUTEMP}°C ${MBTEMP}°C"