why does the author rely on `pv` when `dd` has a status flag to display its progress already
Not all versions of `dd` support the status argument. I think it’s particular to GNU. If you’re working in a shop that runs multiple versions of Linux as well as multiple versions of proprietary UNIX then you tend to use the command that works everywhere rather than remember the exceptions for each. (I worked in a place that ran all of RHEL, SLES, Ubuntu, AIX, Solaris, and SCO UNIX).
Huh…
First the site isn’t optimised for mobile, those codeblocks are cut off.
Second in the last example why does the author rely on
pv
whendd
has a status flag to display its progress already?The code blocks scroll, but they definitely need to telegraph that better:
Not all versions of `dd` support the status argument. I think it’s particular to GNU. If you’re working in a shop that runs multiple versions of Linux as well as multiple versions of proprietary UNIX then you tend to use the command that works everywhere rather than remember the exceptions for each. (I worked in a place that ran all of RHEL, SLES, Ubuntu, AIX, Solaris, and SCO UNIX).