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
progressdaemon scans the/procvirtual 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,
progressaccurately 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:
- On Ubuntu, Debian, or Linux Mint:
sudo apt update && sudo apt install progress - On Fedora, RHEL, or CentOS Stream:
sudo dnf install progress - On Arch Linux or Manjaro:
sudo pacman -S progress - 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:
- Start a heavy file transfer, such as copying a large directory or disk image:
cp ubuntu-24.04-live-server.iso /mnt/storage/backups/ - In a separate terminal tab or window, run:
progress - 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): Keepsprogressrunning continuously in the foreground, dynamically updating statistics every second until all monitored tasks finish:progress -m - Wait-and-Watch Mode (
-w): If you wantprogressto 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.