#!/bin/bash read -r var1?"Enter foo " 2>&1 # is the read syntax here right for bash?? echo $var1