To use Ctrl + D, follow these steps:
- While you are in the terminal and have started the
catcommand (or any other command that accepts input), type your lines as needed. - When you are ready to end the input, simply press and hold the
Ctrlkey on your keyboard. - While holding
Ctrl, press theDkey.
This will send the EOF signal, indicating that you have finished entering data. The cat command will then process the input and return you to the command prompt.
