read

Shell builtin voor het ophalen van data van stdin. Meer informatie: https://www.gnu.org/software/bash/manual/bash.html#index-read.

read {{variable}}

read -a {{array}}

read -n {{character_count}} {{variable}}

read {{_ variable1 _ variable2}} <<< "{{De achternaam is Bond}}"

read -r {{variable}}

read -p "{{Voer je invoer hier in: }}" {{variable}}

read -s {{variable}}

while read line; do {{echo|ls|rm|...}} "$line"; done < {{/dev/stdin|pad/naar/bestand|...}}