commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Create a progress dialog with custom title and text using zenity.
There are 5 alternatives - vote for the best!
just make some data scrolling off the terminal. wow.
This will turn it in an infinite loop and also shows random words from a file, so it won't be the same each time and also not just a number.
The first parameter after timeout is the key parameter; number of seconds to wait. With a 6 you have 600 seconds for your coffee break (10min).
Dialog's gauge widget accepts progress updates on stdin. This version runs dialog once and updates it every second.
There's no need to use timeout which causes screen flicker since it restarts dialog for each update.
Not as taxing on the CPU.
If you can do better, submit your command here.
You must be signed in to comment.