For example, read one line from keyboard and store to variable called na:
$ echo $na
The utility line copies one line (up to a newline) from standard input (keyboard) to standard output (screen). It always prints at least a newline and returns an exit status of 1 on EOF or read error.
You can easily use line command in a shell scripts.
(Check out all of our posts on Shell Scripting)