fsck Linux Command
Checks and optionally repairs a filesystem for errors.
What does fsck do?
Checks and optionally repairs a filesystem for errors.
Syntax
fsck [options] devicePractical example
sudo fsck /dev/sda1Related Disk Commands
mkfsCreates a filesystem (formats) on a disk partition.
ddCopies and converts raw data at the block level (disk cloning, bootable USB creation).
umountUnmounts a filesystem (detaches a mounted device from the directory tree).
blkidDisplays block device attributes including UUID and filesystem type.
mountMounts a filesystem (attaches a device to the directory tree).
partedDisk partitioning tool (supports GPT and MBR partition tables).