Shell Data Processing - Standard Input Stream (Stdin)
Table of Contents
About
IO - Standard Input (stdin) in a shell
Management
Creation
Cat From a file
Echo from literal
If your command needs plain input without terminal emulation you can use input redirection with a pipe like:
echo "some input" | command
Stop
Ctrl+D typed at the start of a line on a terminal, signifies the end of the file (input).
Example:
cat -
Type what you want then Ctrl+D