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:
the tool
zenityallows create gui progress bar shell script, e.g.zenity --progress --auto-close.zenitypreinstalled 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-closethe
pvtool ("pipe viewer") can used replacementcatperk shows progress bar in text mode indicating amount/speed of data passing throughpv. 1 has install it, not preinstalled. example, add progress bar decompression of large archive:pv large.tar.bz2 | tar -xjf -
Comments
Post a Comment