adplus-dvertising
frame-decoration

Question

To create an archive named abc.tar consisting of two files, file01 and file02, which of the following command will be used?

a.

tar –cvf abc.tar file01 file02

b.

tar –cvf file01 file02 abc.tar

c.

tar –cv abc.tar file01 file02

d.

tar –c abc.tar file01 file02

Posted under UNIX

Answer: (b).tar –cvf file01 file02 abc.tar

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To create an archive named abc.tar consisting of two files, file01 and file02, which of the following command will be used?

Similar Questions

Discover Related MCQs

Q. Which command will be used for extracting files from an archive named abc.tar?

Q. Which of the following command is used for viewing the attributes of contents of an archive?

Q. Which option is used by tar to append files to the end of an archive?

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

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?