Storing user inputs into a file

view full story

http://www.unix.com – Hi, Am trying to store the user inputs into a file, but the below code will store only the first line of the values. I need to store all the user input values which may contain one or more lines. Thanks in advance. Code: echo "please enter file names"; read name; echo $name>/tmp/test (HowTos)