Shell builtin for retrieving data from stdin. More information: https://manned.org/read.1p.
stdin
read variable
read -r variable
while read line; do echo "$line"; done