Comment

Comment by mortenlarsen

There is no need to call cat to read from a file.

> temp=$(cat /sys/class/thermal/thermal_zone1/temp)

temp=$(</sys/class/thermal/thermal_zone1/temp)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton