Check out all the

Different ways to use Read Command in Linux Shell

Malreddy Ankanna
3 min readSep 11, 2016

--

Reading is a good habit.

The command read in the Linux is used to read the input from the keyboard. It is mainly used at the time of taking confirmation from the user to do the jobs that seems to be little dangerous.

Different Styles

read

Reads the data until you press the enter key. Here, we won’t specify the variable where to store the data. By default the data is stored in a variable called REPLY. So…

--

--

Malreddy Ankanna

Programmer & Writer, I write about coding, thoughts, ideas, personal musings, technical articles, and tutorials.https://bio.link/blackode