[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #!/bin/bash





> How can you take user input as a variable within a bash script?

read


#!/bin/bash

echo -n "==>"
read INPUT
echo
echo "You said $INPUT."


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.