Linux fsck Command

In this tutorial we learn how to use fsck commmand in Linux. fsck command is fsck - check and repair a Linux filesystem

What is Linux fsck Command?

In this tutorial we learn how to use fsck command in Linux. fsck command is fsck - check and repair a Linux filesystem

fsck Syntax

       fsck [-lsAVRTMNP] [-r [fd]] [-C [fd]] [-t fstype] [filesystem...] [--] [fs-specific-options]

fsck Examples

fsck Command Manual / Help

We can use man and info command to see the manual page of fsck command.

fsck command also have --help option to show list of options.

To open man page for fsck command we can use command below. To exit man or info page you can press q.

man fsck

To open info page for fsck command we can use command below.

info fsck

To open help page from fsck command we can run command below.

fsck --help

Linux fsck Command Source Code

You can find fsck command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use fsck in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.