Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
some common custom shell commands i use, you can add to your home directory and add "source" on your .bashrc file to add them.
function notify_when_online(){
while true; do
ping -c1 $host > /dev/null && break;
done && notify-send --icon=dialog-information "$host is online"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment