Bash script to show updating information in terminal -


I am trying to write a bash script that displays the output from the Python script. I want the product to refresh each other, so my script looks like this ( run.sh ):

  #! / Bin / bash export INTERVAL = 1 export SCRIPT = "Something.py" when [true] makes a clear dragon $ {SCRIPT} sleep $ {INTERVAL} gold   

though the Python script works , But Flickr on screen (this includes some web access).

Thanks in advance!

Use the clock to update the screen only when this full screen is complete, and this screen Will take care of things like scrub, and will work with a larger output than a screen.

clock-n $ {INTERVAL} 'dragon $ $ {SCRIPT}'

If you want to see an example of how long the clock is running Work, do this:

clock 'date; Echo; The long echo of the work ...; Sleep 3; Echo; Date '

Comments