Ask for input

#!/bin/bash
echo Hello, who am I talking to?
read varname
echo It\'s nice to meet you $varname

Check if file does not exist

#!/bin/bash
FILE=/etc/docker
if [ ! -f "$FILE" ]; then
    echo "$FILE does not exist."
fi