I have a 4 GB HDD hooked onto my box via an external enclosure.

How do I check for bad sectors? And how long would it take to check a 4 GB?