MySQL Table Repair using command line

Sorry for the NOOB question but could somebody provide me with details of how to repair MySQL tables using the command line?

I can’t seem to find details on the forum, although Sam has referenced it in a previous post saying that it’s simple to do.

Thanks for your help!

This may be of some help.