how can i show pop up with the help of shell scripting? -


in order track progress of particular process. want show progress bar percentage of completion of process. please advise, possible use pop-up show progress bar windows or pop-up specific message.

please advise.

thanks

i know 2 simple tools purpose:

  1. the tool zenity allows create gui progress bar shell script, e.g. zenity --progress --auto-close. zenity preinstalled on many linux systems. tool starts, , shows gui progress bar, while on stdin expects percentage of completion. e.g.:

    seq 0 20 100 | while read x; sleep 1; echo $x; done |    zenity --progress --auto-close 
  2. the pv tool ("pipe viewer") can used replacement cat perk shows progress bar in text mode indicating amount/speed of data passing through pv. 1 has install it, not preinstalled. example, add progress bar decompression of large archive:

    pv large.tar.bz2 | tar -xjf - 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -