adplus-dvertising
frame-decoration

Question

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

a.

tar –xvf abc.tar

b.

tar –cvf abc.tar

c.

tar -tvf abc.tar

d.

tar -t abc.tar

Posted under Unix File System UNIX

Answer: (a).tar –xvf abc.tar

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

Q. What does the following command do?

$ chmod ugo +w file01.txt