Which of the following commands displays the contents of a gzip compressed tar archive?
- A. gzip archive.tgz | tar xvf -
- B. tar ztf archive.tgz
- C. gzip -d archive.tgz | tar tvf -
- D. tar cf archive.tgz
Free LFCS sample questions for the Linux Foundation Certified System Administrator exam. No account required: study at your own pace.
Want an interactive quiz? Take the full LFCS practice testLooking for more? Click here to get the full PDF with 139+ practice questions for $10 for offline study and deeper preparation.
Which of the following commands displays the contents of a gzip compressed tar archive?
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
What is the output of the following command sequence? for token in a b c; do echo -n "$token "; done
Which of the following commands will print the last 10 lines of a text file to the standard output?
Which of the following commands updates the linker cache of shared libraries?
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
Which of the following commands moves and resumes in the background the last stopped shell job?
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
Regarding the command: nice -5 /usr/bin/prog Which of the following statements is correct?
Which of the following commands will write a message to the terminals of all logged in users?
Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?
Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
Which of the following commands will change the quota for a specific user?
Which of the following is the device file name for the second partition on the only SCSI drive?
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
Which of the following statements is correct when talking about /proc/?
Download the complete LFCS study bundle with 139+ questions in a single printable PDF.