minus-squareskepller@lemmy.worldtoLinux@lemmy.ml•Linux Terminal: CTRL+D is like pressing ENTERlinkfedilinkarrow-up1arrow-down1·edit-28 days agoThis! It’s merely a buffer flush, in case it’s empty, the program handling the input can choose how to interpret, cat decides to do it as an EOF. Reason why it also works as exit. linkfedilink
This!
It’s merely a buffer flush, in case it’s empty, the program handling the input can choose how to interpret,
cat
decides to do it as an EOF.Reason why it also works as exit.