minus-squareskepller@lemmy.worldtoLinux@lemmy.ml•Linux Terminal: CTRL+D is like pressing ENTERlinkfedilinkarrow-up1arrow-down1·edit-21 month 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
minus-squareskepller@lemmy.worldtoLinux@lemmy.ml•Apparently, 12% of Technology Workers Believe that MacOS is based on Linuxlinkfedilinkarrow-up11·2 months agoSome dude explained below. 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.