For Mathematica used with a notebook front end, the typical default setting for $DisplayFunction is Identity.
When the Mathematica kernel is run on a raw terminal, $DisplayFunction typically uses ExportString and Print, or sends to an external display program using Export.