System and processes
The e2fsck command
Checks and repairs ext2/ext3/ext4 filesystems.
Syntax
sudo e2fsck [-f] <dispositivo>Most useful options
-fForce the checkCopy-ready examples
$ sudo e2fsck /dev/sda1CheckYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- It must be done with the filesystem unmounted.
FAQ
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course