I need to read a value from the terminal in a bash script. I would like to be able to provide a default value that the user can change.
# Please enter your
#Script for calculating various values in MB echo "Please enter some input: " read input_variable echo $input_variable | awk '{ foo = $1 / 1024 / 1024 ; print foo "MB" }'