End Of File Character

In Linux, you can send an End Of File (EOF) character by typing Ctrl + D.

Using EOL is useful for line-based programs which read input one line at a time until they reach the end of the input. This is the case of the sort command, for example.

Links to this page