Commands.page Logo

Ubuntu Command to Display Completed Download Statistics

This article outlines the primary command-line utility used in Ubuntu to manage file transfers and view their performance metrics. It focuses on the standard tool that automatically generates a summary report containing speed, time, and size data immediately upon finishing a retrieval task.

The Wget Command

The primary command used to download files and display statistics is wget. When executed in the terminal, this utility retrieves files from the web and prints a summary line once the transfer is complete. This summary includes the total time taken, the average download speed, and the final file size.

How to Use It

To see these statistics, open the terminal and enter the following syntax:

wget [URL]

Replace [URL] with the direct link to the file you wish to download. As the process runs, progress is shown in the terminal. When the status changes to “FINISHED,” the detailed statistics appear at the bottom of the output log.

Understanding the Output

The final lines of the wget output provide the specific data required. You will see the date and time of completion, followed by the total length of the file and the speed of the transfer. If the download fails or is interrupted, these statistics will reflect the partial data received up to that point.

Alternative Tools

While wget is the standard for simple downloads, curl is another option. However, curl requires specific flags like -w to format and display download statistics similarly. For most Ubuntu users seeking immediate feedback on download performance without additional configuration, wget remains the most direct solution.