PROXY=$(cat /etc/proxy) if [ -z "$PROXY" ] then #isempty echo "noProxy" else #notempty echo "goProxyGoGoGo" fi exit 0