To start a ‘fsck’ (for Windows users: a ‘checkdisk’ for Linux), you may execute the following command in your shell:

touch /forcefsck

fsck will run at next boot.

This command creates a file called ‘forcefsck’ in the root folder (‘/’). At boot time, fsck checks whether this file exists. When it does, fsck checks the harddisk.


  1. It would be a great benefit if you’d explain the code a bit. Cause the “force” word in the code makes me think that I am executing something which may be harmful to my system 😉

  2. This command is completely unharmfull. I will edit my post and add some more information.
    Thanks for your comment!

Leave a Reply to Ted Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.