问题:单选题What command will print a list of usernames (first column) and their corresponding user id (uid, third column) from /etc/passwd?()Acut -d: -f 1,3 /etc/passwdBchop -c 1,3 /etc/passwdCtac 1-3/etc/passwdDfmt -u /etc/passwd
查看答案
问题:单选题You ran out of space and added a eighth disk to your SCSI-1 system. When you try to start, the system no longer boots. What is most likely the cause of this problem?()ASCSI-1 supports only 8 devices including the adaptor.BSCSI-1 supports only 6 disks per adaptor.CThere is a SCSI-ID conflict that causes that problem.DYou forgot to set the SCSI-ID #8 for the new disk.
问题:单选题What information is displayed by the command cat/proc/dma?()Awhether DMA is enabledBwhich DMA channels are in useCwhich DMA mode is in useDgeneral information about DMA on the machine
问题:多选题What does the Filesystem Hierarchy Standard enable? ()Asoftware to predict the location of installed files and directoriesBsoftware to predict the ownership and access rights to files and directoriesCusers to predict the location of installed files and directoriesDusers to predict how the filesystem should be formatted according to need
问题:单选题You wish to kill a process with a PID of 123. Select the command which exiting.()Akill-1 123Bkill-9 123Ckill-15 123Dkill-17 123
问题:填空题What command with all options and/or parameter will send the signal USR1 to any executing process of program apache2?()
问题:填空题What application can be used in place of xhost? Please enter only the name without path. Answer:()
问题:单选题You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?()ARun ext2fs ACL.BUse a hard link.CUse a symbolic link.DUse the loopback device.ECreate a block device offset.
问题:填空题Which program finds only files that are in your PATH?()
问题:单选题You have read/write permission on an ordinary file foo. You have just run In foo bar. What would happen if you ran rm foo?()Afoo and bar would both be removed.Bfoo would be removed while bar would remain accessible.Cfoo would be removed, bar would still exist but would be unusable.DBoth foo and bar would remain accessible.EYou would be asked whether bar should be removed.
问题:单选题Using vi, you want to save changes to the file myfile with :w!, but vi complains it cannot write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:()A:!ls-I myfileB:/ls-l myfileCesc :Is -I myfileD:?ls-l myfile
问题:单选题You are looking for an executable file foo. Select the command that would search forfoo within directories set in the shell variable, PATH.()AlocateBwhichCfindDqueryEwhereis
问题:单选题Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into a bash initialization file will have bash recognize vi keystrokes after login?()Ahistory-pviBalias emacs=viCHISTCMD=viDset -o viEunset emacs
问题:单选题Which of these commands allows you to use shared libraries that are in /usr/local/lib?()Aexport LD_PRELOAD=/usr/local/libBexport LD_LIBRARY_PATH=/usr/local/libCIdconfig /usr/local/libDIdd/usr/local/lib
问题:填空题USB fax/modems that conform to this subclass of the Communication Device Class (CDC) vendor neutral standard are Linux compatible (answer is a 3 letter acronym).()
问题:单选题Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?()Atr ’/r/n’ < userlist.txt > newlist.txtBtr -c ’/n/r’ < newlist.txt > userlist.txtCtr -d /r¯ < userlist.txt > newlist.txtDtr /r¯/n¯ userlist.txt newlist.txtEtr -s ®^M’¡®^J’ userlist.txt newlist.tx
问题:单选题With Xorg 7.0, what is the name of the default font server?()AxfservBxfsCfontsDxfsttEfserv