This has more information on cat5 vs cat5e vs cat6 and their compatibility with different speeds / modes: http://serverfault.com/questions/107172/what-is-the-actual-d...
TL;DR almost any Ethernet cable you buy today will be cat5e or better, which will work just fine. Really old cat5 is technically compatible and should work too, but due to it having slacker tolerances for e.g. crosstalk, it might not work over e.g. longer runs or difficult situations (cable ran next to fluorescent lights, etc).
EDIT: If you want to know what speed your link-level has established, your OS should provide this info. netstat -e on windows or netstat -i on OSX / Linux should show the connection speed. In windows, you could also do WinKey+ r -> ncpa.cpl -> right-click active internet connection -> connection details IIRC.