* 2026-04-10 15:53:07+0000, CGS wrote:

> I don't understand pv. In apt show pv it says to insert it in a
> pipeline between two processes. What are the two processes here?

In this context processes are programs that print output and handle
input. They can be connected with pipe and "pv" can be in the middle:

    program1 | pv | program2

The data goes unchanged through "pv" but it shows progress information
in the standard error stream. So, "pv" is like "dd" or even "cat", but
better for data transfer monitoring.

See the EXAMPLES section in the man page but I'll give a couple of
useful:

    sudo pv /dev/zero -o /dev/targetdrive
    sudo pv disc-image.img --sync -o /dev/targetdrive

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: DD3B8E8ABD28B98176E6A7CCCC9A5E615FCC1D93
/ old key: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

Attachment: signature.asc
Description: PGP signature

Reply via email to