Jump to content

read (Unix)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Herakleitoszefesu (talk | contribs) at 22:28, 18 January 2020 (HTTP -> HTTPS). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


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