Shell Data Processing - Standard Input Stream (Stdin)

1 - About

IO - Standard Input (stdin) in a shell

3 - Management

3.1 - Creation

3.1.1 - Cat From a file

cat will start a standard input session


You can redirect it to a file.

cat > myinput.txt

3.1.2 - 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

3.2 - Stop

Ctrl+D typed at the start of a line on a terminal, signifies the end of the file (input).


cat -

Type what you want then Ctrl+D

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap