【Shell】dialog


【安裝】

$apt-get install dialog

【程式】(取自 參考#1 )

#!/bin/bash
{ for I in 10 20 30 40 50 60 70 80 90 \
      80 70 60 50 40 30 20 10 0; do
   echo $I
   sleep 1
done
echo; } | dialog --guage "A guage demo" 6 70 0

【執行】

image

【參考】

 

Ed32. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com