XK0-005 · Question #189
A junior systems administrator is scanning archive.tar files with an antivirus scanner. The administrator is given the following tasks: - List all files that are in the archive.tar files. - Extract…
The correct answer is A. tar -tvf archive.tar B. tar -xf archive.tar. Listing Tar Archives When used with the --list (-t) option, the tar command lists the content of a tar archive without $ tar -tf archive.tar Extracting Tar Archive Most of the archived files in Linux are archived and compressed using a tar or tar.gz format. Knowing how to…
Question
A junior systems administrator is scanning archive.tar files with an antivirus scanner. The administrator is given the following tasks:
- List all files that are in the archive.tar files.
- Extract all files from the archive.tar files.
Which of the following actions should be performed to meet these requirements? (Choose two.)
Options
- Atar -tvf archive.tar
- Btar -xf archive.tar
- Ctar -A archive.tar
- Dtar -av archive.tar
- Etar -r archive.tar
- Ftar -uvz archive.tar
How the community answered
(58 responses)- A90% (52)
- C3% (2)
- D5% (3)
- F2% (1)
Explanation
Listing Tar Archives When used with the --list (-t) option, the tar command lists the content of a tar archive without $ tar -tf archive.tar Extracting Tar Archive Most of the archived files in Linux are archived and compressed using a tar or tar.gz format. Knowing how to extract these files from the command line is important. $ tar -xf archive.tar https://linuxize.com/post/how-to-create-and-extract-archives-using-the-tar-command-in-linux/
Topics
Community Discussion
No community discussion yet for this question.