Results 1 to 1 of 1
m trying to write a command thatll return just the CPU temperature
Ive got this so far
Code:
meniscus@meniscot:~$ sensors | grep 'CPU Temp'
CPU Temp: +43°C (low = +15°C, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-29-2006 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 8
Getting a number from a line of text?
m trying to write a command thatll return just the CPU temperature
Ive got this so far
How do i modify it to return just the number 43 on its own?Code:meniscus@meniscot:~$ sensors | grep 'CPU Temp' CPU Temp: +43°C (low = +15°C, high = +45°C) sensor = diode


Reply With Quote
