← All commands
Topic hub System & Storage
Windows Linux System & Storage Command guide Repair/Integrity

Windows sfc /scannow equivalent in Linux

Checks installed package files against package metadata.

Windows sfc /scannow
→
Linux equivalents
Debian/Ubuntu apt package: debsums
sudo apt install debsums && sudo debsums -s
Fedora rpm database
sudo rpm -Va
Arch pacman database
sudo pacman -Qkk

Overview

What this command does

On Windows, "sfc /scannow" is used to verify system package files. On Linux, the closest practical mapping shown here is "debsums -s". Checks installed package files against package metadata. This reference is grouped under System & Storage → Repair/Integrity.

Migration tip: This mapping changes by distribution. Use the row for your system rather than substituting only the package-manager name: Debian/Ubuntu: sudo apt install debsums && sudo debsums -s; Fedora: sudo rpm -Va; Arch: sudo pacman -Qkk.

Windows → Linux context

What changes when you use this on Linux?

Equivalent task, different tool

Windows sfc /scannow maps to debsums 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

Verify system package files

Checks installed package files against package metadata.

debsums -s

Verify system package files

debsums --help

Show command help when supported

man debsums

Open the manual page when installed

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

debsums -s

Walkthrough

Examples with explanations

# Windows equivalent: sfc /scannow
debsums -s

Reference

Common options and variations

Command or optionUse
debsums -sVerify system package files
debsums --helpShow command help when supported
man debsumsOpen the manual page when installed

Distro differences

Debian/Ubuntu vs Fedora vs Arch

The equivalent is distribution-specific for this task: Debian/Ubuntu uses "sudo apt install debsums && sudo debsums -s"; Fedora uses "sudo rpm -Va"; Arch uses "sudo pacman -Qkk".

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu apt package: debsums sudo apt install debsums && sudo debsums -s Equivalent workflow for this distribution.
Fedora rpm database sudo rpm -Va Equivalent workflow for this distribution.
Arch pacman database sudo pacman -Qkk Equivalent workflow for this distribution.

Keep learning

Related System & Storage commands