The Unix terminal driver uses the end-of-transmission character (EOT), also known as control-D, to indicate the end of a data stream.
ðə jˈuːnɪks tˈɜːmɪnəl dɹˈaɪvɚ jˈuːsᵻz ðɪ ˈɛndʌvtɹænsmˈɪʃən kˈæɹɪktɚ ˌiːˌoʊtˈiː, ˈɔːlsoʊ nˈoʊn æz kəntɹˈoʊldˈiː, tʊ ˈɪndᵻkˌeɪt ðɪ ˈɛnd əvə dˈeɪɾə stɹˈiːm.