How to Install and Use progress in Linux to Monitor cp, mv, and dd Transfers

Standard Linux core utilities like cp, mv, dd, tar, and gzip are designed to execute silently without real-time feedback. When transferring a multi-gigabyte ISO image, extracting a massive backup archive, or compressing database dumps, the terminal cursor simply blinks until completion. The open-source progress tool (formerly known as Coreutils Viewer) solves this visibility problem by inspecting Linux kernel file descriptor tables in /proc to display real-time progress percentages, transfer throughput, and estimated time remaining for currently active commands.

How progress Works Under the Hood

Unlike pv (Pipe Viewer) which requires prefixing or piping commands before execution, progress functions retroactively and non-intrusively:

  • No Pipeline Disruption: You can launch standard commands naturally (e.g., cp large_file.vmdk /backup/) without altering your command syntax.
  • Kernel File Descriptor Auditing: The progress daemon scans the /proc virtual filesystem, locating open file descriptors held by monitored core utilities.
  • Dynamic Throughput Calculation: By comparing the current file offset position against the total file size on disk, progress accurately derives completion percentages, megabytes processed per second, and remaining completion time.

Step 1: Install progress in Linux

The progress utility is packaged in standard repositories across modern Linux distributions:

  1. On Ubuntu, Debian, or Linux Mint:
    sudo apt update && sudo apt install progress
  2. On Fedora, RHEL, or CentOS Stream:
    sudo dnf install progress
  3. On Arch Linux or Manjaro:
    sudo pacman -S progress
  4. Verify the installation:
    progress -v

Step 2: Check Progress of Active Commands in Real Time

Whenever you start a heavy file operation in one terminal window, you can audit its progress from another window:

  1. Start a heavy file transfer, such as copying a large directory or disk image:
    cp ubuntu-24.04-live-server.iso /mnt/storage/backups/
  2. In a separate terminal tab or window, run:
    progress
  3. The terminal will print an instantaneous snapshot of the operation:
    [ 12431] cp /home/user/ubuntu.iso 34.2% (1.4 GiB / 4.1 GiB) 112.5 MiB/s (0:00:24)

Step 3: Continuously Monitor Transfers with Live Updating Output

To avoid manually re-running the command, engage continuous monitoring mode:

  • Live Monitor Flag (-m): Keeps progress running continuously in the foreground, dynamically updating statistics every second until all monitored tasks finish:
    progress -m
  • Wait-and-Watch Mode (-w): If you want progress to wait until an operation starts, monitor it to completion, and then cleanly exit:
    progress -m -w
  • Combine with Commands via Background Shell Operators: Launch your transfer and immediately attach the progress monitor in the same terminal session:
    tar -czf site_backup.tar.gz /var/www/ & progress -m$!

Step 4: Monitor Custom Applications

By default, progress monitors core commands including cp, mv, dd, tar, cat, rsync, grep, gzip, bzip2, xz, 7z, and ffmpeg. To track any arbitrary binary that reads or writes files sequentially, pass the executable name using the -c parameter:

progress -m -c my_custom_loader

Utilising progress brings complete transparency to routine system maintenance, ensuring systems administrators and developers never have to guess whether a long-running command is progressing or stalled.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.