How to send EOF via Windows terminal September 26, 2023 by Tarik You can simulate EOF with CTRL+D (for *nix) or CTRL+Z then Enter (for Windows) from command line.