To identify the direct object in a sentence, we need to determine the noun or noun phrase that receives the action of the verb directly. In this case, the verb is "know" and it is being done by the subject "they." The question to ask is "what do they know?" The answer is "the long distance traveled." Therefore, the direct object in this sentence is "distance."