Linux Today: Linux News On Internet Time.

pv (Pipe Viewer) - Shell pipeline element to meter data passing through

Dec 30, 2008, 08:33 (0 Talkback[s])

[ Thanks to dave for this link. ]

"pv will copy each supplied FILE in turn to standard output (- means standard input), or if no FILEs are specified just standard input is copied. This is the same behaviour as cat.

"A simple example to watch how quickly a file is transferred using nc

"pv file | nc -w 1 somewhere.com 3000"

Complete Story

Related Stories: