On Linux, users use the fsck (file system check) command to check for fsck file system errors that can find corrupted files on the file system. You can find the recovery data of the corrupted files here. Each system file, each partition has its own lost + found directory. The lost + found folder is part of the Linux, macOS and UNIX operating system.
If any files are found to be corrupted, fsck will remove the corrupted data from the file system and move to the lost + found directory.
Fsck can find corrupted files on the file system. On Linux, users use the fsck (file system check) command to check for corrupted system files.