[wget] Choose the output file name

Created on November 30, 2026

Use uppercase -O to save a download under a specific name. The following command saves a Mozilla archive as my_filename.tar.bz2.

wget -O my_filename.tar.bz2 https://download-installer.cdn.mozilla.net/pub/firefox/releases/90.0.2/linux-x86_64/en-US/firefox-90.0.2.tar.bz2
Shell command