Multiple choice technology operating systems

gunzip -f myfile.gz

  1. Uncompress the file myfile.gz

  2. compress the file myfile.gz and if the uncompressed file(s) already exist force an overwrite

  3. Uncompress the file myfile.gz and if the uncompressed file(s) already exist force an overwrite

  4. compress the file myfile.gz

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The gunzip command is used to decompress gzip files. Applying the -f or --force option forces decompression and overwrites any existing uncompressed files with the same name without prompting, whereas the other options incorrectly suggest that this command performs file compression.