Bug 127133
Summary: | w5c7q4: tar -f's mandatory argument can be deferred. go figure. | ||
---|---|---|---|
Product: | [Retired] Red Hat Academy | Reporter: | Bowe Strickland <bowe> |
Component: | RHA030 Curriculum | Assignee: | Bowe Strickland <bowe> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Bowe Strickland <bowe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-07 17:29:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Workbook 5: The Linux Filesystem > Chapter 7. Archiving Files with tar > Questions > > 4. You have downloaded a file titled linux-2.5.34.tar.gz. > Which of the following commands can you run to extract the > contents of the file? > > Y A. tar xvzf linux-2.5.34.tar.gz > B. tar -x -f linux-2.5.34.tar.gz > Y C. tar -x -z -f linux-2.5.34.tar.gz > D. tar -xZf linux-2.5.34.tar.gz > N E. tar xfz linux-2.5.34.tar.gz > Y F. tar -x -f linux-2.5.34.tar.gz -z > > "E" is actually a correct answer. > (Linux version 2.4.20-8) > i'll be danged... it shouldn't be, because -f takes a required argument (the name of the archive), but apparently its treated as a special case by tar. noted. Thanx!