Skip to content

Instantly share code, notes, and snippets.

@nachinius
Forked from ignaciopeixoto/sleep5.sh
Created April 29, 2020 12:41
Show Gist options
  • Save nachinius/a8fee3e7d0def48c9c395e7b4b17bfa1 to your computer and use it in GitHub Desktop.
Save nachinius/a8fee3e7d0def48c9c395e7b4b17bfa1 to your computer and use it in GitHub Desktop.
A shell one-liner for an infinite loop (sh/zsh/bash compatible)
while true; do date; sleep 5; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment