#!/bin/bash if [[ -z $1 ]]; then vcgencmd measure_temp | sed "s/'/°/g" else vcgencmd measure_temp | sed "s/'/°/g" | cut -d= -f2 fi