How to use the fsck command in Linux?

The fsck command (file system consistency check) is a utility to check and repair a Linux Filesystem. Modern file systems with journaling are designed such that tools like fsck are not readily required. However, in a few cases, fsck might…