CompTIA Linux+ XK0-005 (v7) Practice Question
A systems administrator needs to download a critical security patch from a vendor's website. The download link is http://vendor.com/downloads/patch.cgi?id=9a4f2, which saves the file with a non-descriptive name. To maintain clarity in the local /tmp/patches directory, the administrator wants to save the file as vendor_patch_2025-10-07.tar.gz directly during the download. Which of the following commands will achieve this?
wget --output-file=/tmp/patches/vendor_patch_2025-10-07.tar.gz http://vendor.com/downloads/patch.cgi?id=9a4f2
wget --save-as /tmp/patches/vendor_patch_2025-10-07.tar.gz http://vendor.com/downloads/patch.cgi?id=9a4f2
wget -O /tmp/patches/vendor_patch_2025-10-07.tar.gz http://vendor.com/downloads/patch.cgi?id=9a4f2
wget --download-as /tmp/patches/vendor_patch_2025-10-07.tar.gz http://vendor.com/downloads/patch.cgi?id=9a4f2