Which of the following commands displays the contents of a gzip compressed tar archive?
Which of the following commands displays the contents of a gzip compressed tar archive?A . gzip archive.tgz | tar xvf B . tar ztf archive.tgzC . gzip -d archive.tgz | tar tvf D . tar cf archive.tgzView AnswerAnswer: B
Which of the following commands will reduce all consecutive spaces down to a single space?
Which of the following commands will reduce all consecutive spaces down to a single space?A . tr 's' ' ' < a.txt > b.txtB . tr -c ' ' < a.txt > b.txtC . tr -d ' ' < a.txt > b.txtD . tr -r ' ' '' < a.txt...
Which of the following is correct when talking about mount points?
Which of the following is correct when talking about mount points?A . Every existing directory can be used as a mount point.B . Only empty directories can be used as a mount point.C . Directories need to have the SetUID flag set to be used as a mount point.D ....
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?
Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?A . file /tmp/myfile.txtB . echo "Hello" >/tmp/myfile.txtC . sed -ie "s/1/2/" /tmp/myfile.txtD . echo -n "Hello" >>/tmp/myfile.txtE . touch /tmp/myfile.txtView AnswerAnswer: A
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)A . 0B . 1C . 3D . 5E . 6View AnswerAnswer: AE
Which of the following commands will remove that directory?
A user accidentally created the subdirectory dir in his home directory. Which of the following commands will remove that directory?A . rmdir '~/dir'B . rmdir "~/dir"C . rmdir ~/'dir'D . rmdir ~/dirE . rmdir ~/\dirView AnswerAnswer: E
Which command will disable swapping on a device?
SIMULATION Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)View AnswerAnswer: swapoff -or- /sbin/swapoff
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?A . <<B . <|C . !<D . &<View AnswerAnswer: A
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?
SUMULATION Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)View AnswerAnswer: cmdline -or- /proc/cmdline
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
SIMULATION Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files? killall -s _______ daemonView AnswerAnswer: HUP -or- SIGHUP -or- 1