Skip to content

Instantly share code, notes, and snippets.

@espaciomore
Last active September 15, 2025 15:55
Show Gist options
  • Save espaciomore/28e24ce4f91177c0964f4f67bb5c5fda to your computer and use it in GitHub Desktop.
Save espaciomore/28e24ce4f91177c0964f4f67bb5c5fda to your computer and use it in GitHub Desktop.

Revisions

  1. espaciomore revised this gist Mar 3, 2017. No changes.
  2. espaciomore created this gist Mar 3, 2017.
    8 changes: 8 additions & 0 deletions watch.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    #!/bin/bash
    ARGS="${@}"
    clear;
    while(true); do
    OUTPUT=`$ARGS`
    clear
    echo -e "${OUTPUT[@]}"
    done