CmdID

CmdID / Commands

read

Shell builtin for retrieving data from stdin. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Store data that you type from the keyboard to one or more variable

read variable1 variable2 ...Identify

Store each of the next lines you enter as values of an array

read -a arrayIdentify

Specify the number of maximum characters to be read

read -n character_count variableIdentify

Assign multiple values to multiple variables

read <<<"The surname is Bond" _ variable1 _ variable2Identify

Do not let backslash (\) act as an escape character

read -r variableIdentify

Display a prompt before the input

read -p "Enter your input here: " variableIdentify

Do not echo typed characters (silent mode)

read -s variableIdentify

Perform an action on each line of a command's output

command | while IFS= read -r line; do echo "$line"; doneIdentify