#!/bin/bash # simple example of using the read command to obtain # interactive input from the user # by: Sharon Tuttle # last modified: 10-10-12 # note the use of the -n option with echo, so it doesn't echo a newline echo -n "please type something followed by enter: " read userInput echo "you entered: <$userInput>"