Detailed explanation of fsck command

The fsck command comes from the abbreviation of the English phrase "filesystem check", and its function is to check and repair the file system. If the system has a sudden power failure or disk abnormality, it is recommended to use the fsck command to check and repair the file system to prevent data loss.
 

Syntax format: fsck [parameter] file system
 

Common parameters:
 

Reference example
 

Check if the filesystem is corrupted:
 

Force a filesystem check for corruption:
 

 

Guess you like

Origin blog.csdn.net/shengyin714959/article/details/129808182