#!/bin/bash if ping -c 1 1.1.1.1 > /dev/null 2>&1; then echo "😛" else echo "😤" fi