read
Read one line from the standard input, (or from a file) and assign the word(s) to variable name(s).
-d delim
The first character of delim is used to terminate the input
line, rather than newline.
-p prompt
Display prompt on standard error, without a trailing newline,
before attempting to read any input. The prompt is displayed
only if input is coming from a terminal.
-r
Backslash does not act as an escape character. The backslash is considered to be part of the line. In particular, a backslash-newline pair can not be used as a line continuation.
-s
Silent mode. If input is coming from a terminal, characters are not echoed.
-t timeout
Cause read to time out and return failure if a complete line of
input is not read within timeout seconds. This option has no
effect if read is not reading input from the terminal or a pipe.
Смотрите видео Bash Basics - How to use read command on Linux онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь WPJ852 26 Июнь 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 231 раз и оно понравилось 1 людям.