title: How can I read an IP address from the user in a bash script?
body: <pre><code>if [ "$1" == "-s" ]; then
    echo "Connecting to host.."
    scp root@IP_ADDRESS:/private/var/mobile/Library/SMS/sms.db /private/var/mobile/Media/BackupSMS
    echo " "
    exit
  fi
  </code></pre>
  
  <p>I need to ask user for a IP-address, that will then be placed where <code>IP_ADDRESS</code> is above. I'm new to scripts, but I'm trying.</p>
  
  <p>How would I do this?</p>