Redirecting Standard Input
First, what even is Standard Input?
Another way to provide input is using a file. Use the <
shell operator to redirect the file's contents into standard input.
$ wc -l < myfile
command
4
output
First, what even is Standard Input?
Another way to provide input is using a file. Use the <
shell operator to redirect the file's contents into standard input.
$ wc -l < myfile
command
4
output