Skip to content

Instantly share code, notes, and snippets.

@ignaciopeixoto
Forked from jj1bdx/sleep5.sh
Created April 29, 2020 12:40
Show Gist options
  • Save ignaciopeixoto/1519594cae20a09f7fc92b66770197e6 to your computer and use it in GitHub Desktop.
Save ignaciopeixoto/1519594cae20a09f7fc92b66770197e6 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