Jump to content

read (Unix)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Ghettoblaster (talk | contribs) at 17:50, 19 July 2020. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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".