← All commands
Topic hub System & Storage
Windows Linux System & Storage Expanded guide System Info

Windows wmic temperature / Core Temp equivalent in Linux

Displays temperature readings from CPU, GPU, and motherboard sensors.

Windows wmic temperature / Core Temp
→
Linux equivalents
Debian/Ubuntu apt
sudo apt install lm-sensors && sensors
Fedora dnf
sudo dnf install lm_sensors && sensors
Arch pacman
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.

Migration tip: Run <code>sudo sensors-detect</code> once to auto-detect and configure which sensors are available, then use <code>sensors</code> to read them. <code>watch -n 2 sensors</code> updates every 2 seconds.

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.

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 optionUse
sensorsAll temperature and fan speed readings
sudo sensors-detectDetect available sensors (run once)
watch -n 2 sensorsLive temperature monitor
sensors -jJSON 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".

DistributionPackage manager / baseEquivalent commandDifference 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

Related System & Storage commands