Using “fsck” to check or repair the file system in Ubuntu

If you have been using a Linux distribution, you might have encountered filesystems errors somehow. Filesystems can be identified as a hierarchy of directories (or a directory tree) which determines the way files are stored and organized on a computer system.For example, a given Linux installation can be installed using only the ext1 filesystem instead of using both ext2 and ext3 filesystem types