What Does Fsck Command Do in Linux?

What Does Fsck Command Do in Linux?
Contents

The fsck (File System Consistency Check) Linux utility checks filesystems for errors or outstanding issues. The tool is used to fix potential errors and generate reports. This utility comes by default with Linux distributions.

What is the use of fsck command in Linux?

fsck (file system check) is a command-line utility that allows you to perform consistency checks and interactive repairs on one or more Linux file systems. It uses programs specific to the type of the file system it checks.

What is the purpose of fsck and e2fsck in Linux?

What is the purpose of fsck and e2fsck in Linux? fsck is a wrapper that identifies the specific tool to use to analyze/repair a filesystem that might be corrupted. e2fsck is specific to the Ext2 family of filesystems and will check ext2, ext3, ext4 file systems.

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.