
fsck
fsck, which stands for "file system consistency check," is a utility used in Unix-like operating systems to scan and repair file systems on storage devices like hard drives or SSDs. Its purpose is to detect and fix errors or inconsistencies in the way files and folders are organized, which can occur due to improper shutdowns, crashes, or hardware issues. Running fsck helps ensure data integrity and that the system's storage structure remains reliable, preventing data loss or system instability. Essentially, it is a tool that maintains the health of your storage by fixing logical mistakes on the disk.