🖥️pv

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the pv command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#                ██████╗ ██╗   ██╗
#                ██╔══██╗██║   ██║
#                ██████╔╝██║   ██║
#                ██╔═══╝ ╚██╗ ██╔╝
#                ██║      ╚████╔╝ 
#                ╚═╝       ╚═══╝  
                

#==============================#
# CMD PV
#==============================##==============================#
pv bigdump.sql.gz | gunzip | mysql 
# restore a #mysql dump with progressbar and ETA.

pv -tpreb /dev/sdc2 | dd of=/dev/sdb2 bs=64K conv=noerror,sync
# copy one partition to another with progress - uses the wonderful 'pv' command to give a progress bar when copying one partition to another. Amazing for long running dd commands

pv bigdump.sql.gz | gunzip | mysql
# restore a #mysql dump with progressbar and ETA.

pv -tpreb /path/to/source | sudo dd bs=4096 of=/path/to/destination
# dd with progress bar and statistics
# Uses the pv utility to show progress of data transfer and an ETA until completion.

#==============================##==============================#
# CMD PV
#==============================##==============================#
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░