Linux Today: Linux News On Internet Time.

More on LinuxToday

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

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

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

[ 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 3000"

Complete Story

Related Stories: