| Wednesday October 22nd 2014

Feedburner

Subscribe by email:

We promise not to spam/sell you.


Search Amazon deals:

HOWTO: Add a progress bar to Linux shell commands


pv screenshot

How many times have you wished there was an easy way to view the progress of a gzip? a grep? redirected file read/writes? file copies? There are many situations where the addition of a simple progress bar would make the user experience 1 million times more bearable. Several years ago I had read about pipe viewer, or pv for short. This is truly the answer to my progress bar prayers. I cannot believe I had forgotten about such a nifty and useful tool. It’s been in existence so long, chances are good that you forgot about it too. I’ll just jump right in…


The project page describes it as…

…a terminal-based tool for monitoring the progress of data through a pipeline. It can be inserted into any normal pipeline between two processes to give a visual indication of how quickly data is passing through, how long it has taken, how near to completion it is, and an estimate of how long it will be until completion.

It’s hard to believe that Andrew Wood first produced this Linux software gem way back in 2002! Its been around so long, I had trouble finding a 64bit version of it…. like it really matters. Anyway, if anyone cares; I rebuilt the .rpm for x86_64 and have it available here.

If you are using Redhat/Fedora/CentOS and the RPMforge repository, you can simply type: yum install pv

Official download mirror

Related Posts: On this day...

Reader Feedback

2 Responses to “HOWTO: Add a progress bar to Linux shell commands”

  1. bayilik j says:

    We started to a software. This infos made help us for develop our software. We will send our software for your ideas.

Leave a Reply

You must be logged in to post a comment.