Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?A . fmt -f 1,4 /etc/passwdB . split -c 1,4 /etc/passwdC . cut -d : -f 1,4 /etc/passwdD . paste -f 1,4 /etc/passwdView AnswerAnswer: C
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)A . Device IRQ settingsB . PCI bus speedC . System battery typeD . Device vendor identificationE . Ethernet MAC addressView AnswerAnswer: ABD
Which of the following shell redirections will write standard output and standard error output to a file named filename?
Which of the following shell redirections will write standard output and standard error output to a file named filename?A . 2>&1 >filenameB . >filename 2>&1C . 1>&2>filenameD . >>filenameE . 1&2>filenameView AnswerAnswer: B
Which of the following commands updates the linker cache of shared libraries?
Which of the following commands updates the linker cache of shared libraries?A . mkcacheB . soconfigC . mkldconfigD . lddconfigE . ldconfigView AnswerAnswer: E
Which command will display messages from the kernel that were output during the normal boot sequence?
SIMULATION Which command will display messages from the kernel that were output during the normal boot sequence?View AnswerAnswer: dmesg -or- /bin/dmesg
Which RPM command will output the name of the package which supplied the file /etc/exports?
Which RPM command will output the name of the package which supplied the file /etc/exports?A . rpm -F /etc/exportsB . rpm -qf /etc/exportsC . rpm -Kl /etc/exportsD . rpm -qp /etc/exportsE . rpm -qi /etc/exportsView AnswerAnswer: B
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?A . By using the command :repeat followed by the number and the command.B . By specifying the number right in front of a...
Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem?
SIMULATION Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)View AnswerAnswer: /tmp -or- tmp -or- /var/tmp -or- /tmp/ -or- /var/tmp/
Which of the following commands will write a message to the terminals of all logged in users?
Which of the following commands will write a message to the terminals of all logged in users?A . bcastB . mesgC . printD . wallE . yellView AnswerAnswer: D
Which of the following commands lists the dependencies of a given dpkg package?
Which of the following commands lists the dependencies of a given dpkg package?A . apt-cache depends-on packageB . apt-cache dependencies packageC . apt-cache depends packageD . apt-cache requires packageView AnswerAnswer: C