read (Unix)

From Wikipedia, the free encyclopedia
read
Operating systemUnix, Unix-like, Inferno
TypeCommand

read is a command found on Unix and Unix-like operating systems such as Linux. It reads a line of input from standard input or a file passed as an argument to its -u flag, and assigns it to a variable.

In Unix shells, like Bash, it is present as a shell built in function, and not as a separate executable file.[1]

References[]

  1. ^ "read command on the open group website".
Retrieved from ""