1

[xubuntu] CPU Temperature script for genmon?

view story
linux-howto

http://ubuntuforums.org – HI. I'm currently using this script to display the CPU temperature on my taskbar using genmon: #!/bin/bash echo "<txt>"$(cat /proc/acpi/thermal_zone/THM/temperature | sed 's/\ \ */ /g' | cut -f2 -d" ")" C</txt>" The display says 57000 C, which I know isn't happening, it's more likely that it's 57 degrees C. How do I format the text to show only the 57? Thank you (Hardware)