how to see cpu temp ubuntu code example Example 1: check cpu temp linux watch -n 2 sensors Example 2: how to check cpu temperature ubuntu sudo apt install psensor