adplus-dvertising
frame-decoration

Question

Which command is used for compressing and archiving files together?

a.

gzip and tar

b.

gzip

c.

bzip2

d.

zip

Posted under Unix File System UNIX

Answer: (d).zip

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which command is used for compressing and archiving files together?

Similar Questions

Discover Related MCQs

Q. For using zip command, the first argument should be a compressed filename.

Q. For recursive compression, zip uses –r option.

Q. Which command is used for unzipping files which are compressed using zip command?

Q. If the uncompressed file already exists on disk, unzip asks for the user confirmation whether to replace the existing file or not.

Q. Which option is used with unzip command to view the contents of a compressed archive?

Q. zip and unzip can perform each and every function that is performed by gzip, gunzip and tar.

Q. When we create a file, we are the owner of a file.

Q. What is group ownership?

Q. A file has permissions as rwx r– —. A user other than the owner cannot edit the file.

Q. If a file is read protected, we can write to the file.

Q. The write permission for a directory determines that ____________

Q. If the file is write-protected and the directory has write permission then we cannot delete the file.

Q. What is execute permission?

Q. Which of the following is default permission set for ordinary files?

Q. Which of the following is default permission set for directories?

Q. A file owner does not have a permission to edit the file but the group to which the file owner belong do have the permission to edit it. Can owner edit the file?

Q. What does the following command do?

$ chmod ugo +w file01.txt

Q. Which character is used to replace ‘ugo’ string in chmod command?

Q. Which command is used to change the group owner of the file?

Q. A user can change the group ownership of a file to another group to which he does not belong.