User Tools

Site Tools


git_bash_notes

how to end stdin

Use ctrl+z.

In general, ctrl+z is used to send EOF in Windows and ctrl+d in Linux.

Ref:- https://stackoverflow.com/questions/15673120/how-can-i-signal-eof-to-close-stdin-under-the-git-bash-terminal-on-windows-ctrl

find out whether a terminal is cygwin or git bash

uname -s | cut -f 1 -d '-'
terminal output
git bash MINGW64_NT
cygwin CYGWIN_NT

See also:

git_bash_notes.txt · Last modified: 2022/03/19 03:16 by admin