Question
a.
tar –xvf abc.tar
b.
tar –cvf abc.tar
c.
tar -tvf abc.tar
d.
tar -t abc.tar
Posted under UNIX
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?
View solution
Q. Which option is used by tar to append files to the end of an archive?
View solution
Q. Which command is used for compressing and archiving files together?
View solution
Q. For using zip command, the first argument should be a compressed filename.
View solution
Q. For recursive compression, zip uses –r option.
View solution
Q. Which command is used for unzipping files which are compressed using zip command?
View solution
Q. If the uncompressed file already exists on disk, unzip asks for the user confirmation whether to replace the existing file or not.
View solution
Q. Which option is used with unzip command to view the contents of a compressed archive?
View solution
Q. zip and unzip can perform each and every function that is performed by gzip, gunzip and tar.
View solution
Q. When we create a file, we are the owner of a file.
View solution
Q. What is group ownership?
View solution
Q. A file has permissions as rwx r– —. A user other than the owner cannot edit the file.
View solution
Q. If a file is read protected, we can write to the file.
View solution
Q. The write permission for a directory determines that ____________
View solution
Q. If the file is write-protected and the directory has write permission then we cannot delete the file.
View solution
Q. What is execute permission?
View solution
Q. Which of the following is default permission set for ordinary files?
View solution
Q. Which of the following is default permission set for directories?
View solution
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?
View solution
Q. What does the following command do?
$ chmod ugo +w file01.txt
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!