Multiple choice technology operating systems

Which commad will you use to archive files in given folder?

  1. compress

  2. gzip

  3. archive

  4. tar

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

The tar (tape archive) command is used to archive files in Unix/Linux. It combines multiple files into a single archive file without compression by default. The compress and gzip commands are used for compression of individual files, not for creating archives. The -z flag with tar (tar -czf) creates compressed archives using gzip. There is no standard 'archive' command in Unix. The word 'commad' in the question is a typo for 'command'.