Quote:
Originally Posted by DukeNuke2
check if the variable LOGDIR is empty after the "read". if so set it to the (before) saved value.
|
USER1="root"
echo "Please enter the user to run the XSS process (press ENTER for $USER):"
read USER
if [ "${USER}" = "" ]
then
USER=$USER1
fi
This would be a way but is not so elegant. And I need about 15 user inputs.
Bianca