Windows wmic temperature / Core Temp equivalent in Linux
Displays temperature readings from CPU, GPU, and motherboard sensors.
wmic temperature / Core Temp
sudo apt install lm-sensors && sensors
sudo dnf install lm_sensors && sensors
sudo pacman -S lm_sensors && sensors
Overview
What this command does
On Windows, "wmic temperature / Core Temp" is used to read CPU and hardware temperatures. On Linux, the closest practical mapping shown here is "sensors". Displays temperature readings from CPU, GPU, and motherboard sensors. This reference is grouped under System & Storage → System Info.
Windows → Linux context
What changes when you use this on Linux?
Equivalent task, different tool
Windows wmic temperature / Core Temp maps to sensors for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.
Distribution details matter
The Debian/Ubuntu, Fedora and Arch rows are not identical. Use the row for your distribution instead of changing only the package-manager name in an example.
Elevated privilege appears in this workflow
At least one example uses sudo. Confirm the target path, device, service or package before running the elevated form; do not add sudo simply to bypass an unexplained permission error.
For the broader concept behind this mapping, read Linux disks, storage and mounts.
Practical tasks
Common use cases
Read CPU and hardware temperatures
Displays temperature readings from CPU, GPU, and motherboard sensors.
sensors
All temperature and fan speed readings
sudo sensors-detect
Detect available sensors (run once)
watch -n 2 sensors
Live temperature monitor
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
sudo apt install lm-sensors
sudo sensors-detect
sensors
watch -n 2 sensors
Walkthrough
Examples with explanations
# Windows: no built-in — use Core Temp or HWiNFO64
sudo apt install lm-sensors
sudo sensors-detect # run once to detect
sensors
Core 0: +42.0°C (high = +86.0°C)
Core 1: +41.0°C
# Live monitor:
watch -n 2 sensors
Reference
Common options and variations
| Command or option | Use |
|---|---|
sensors | All temperature and fan speed readings |
sudo sensors-detect | Detect available sensors (run once) |
watch -n 2 sensors | Live temperature monitor |
sensors -j | JSON output for scripting |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
The equivalent is distribution-specific for this task: Debian/Ubuntu uses "sudo apt install lm-sensors && sensors"; Fedora uses "sudo dnf install lm_sensors && sensors"; Arch uses "sudo pacman -S lm_sensors && sensors".
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | apt | sudo apt install lm-sensors && sensors |
Run sudo sensors-detect if sensors are missing. |
| Fedora | dnf | sudo dnf install lm_sensors && sensors |
Fedora package uses lm_sensors name. |
| Arch | pacman | sudo pacman -S lm_sensors && sensors |
Run sudo sensors-detect if needed. |
Keep learning