Where the problem?

Hi guy,
These run individually, but not together.

I want to show both temp and fan speed.

Code:

watch -n 0.2 "sensors -f | grep "temp4""
watch -n 0.2 "sensors -f | grep "fan1"

Thanks

Try this one:

watch -n 0.2 "sensors -f | grep -E '(fan1|temp4)' "
1 Like