Which file should be edited to select the network locations from which Debian installation package files are loaded?
Which file should be edited to select the network locations from which Debian installation package files are loaded?A . /etc/dpkg/dpkg.cfg B. /etc/apt/apt.conf C. /etc/apt/apt.conf.d D. /etc/apt/sources.list E. /etc/dpkg/dselect.cfgView AnswerAnswer: D
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 . mkcache B. soconfig C. mkldconfig D. lddconfig E. ldconfigView AnswerAnswer: E
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 . bcast B. mesg C. print D. wall E. yellView AnswerAnswer: D
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 ~/dir E. rmdir ~/\dirView AnswerAnswer: E
Which of the following commands is used to update the list of available packages when using dpkg based package management?
Which of the following commands is used to update the list of available packages when using dpkg based package management?A . apt-get update B. apt-get upgrade C. apt-cache update D. apt-get refresh E. apt-cache upgradeView AnswerAnswer: A
Which of the following commands can be used to create a USB storage media from a disk image?
Which of the following commands can be used to create a USB storage media from a disk image?A . gdisk B. dd C. cc D. fdisk E. mountView AnswerAnswer: B
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-onpackage B. apt-cache dependencies package C. apt-cache depends package D. apt-cache requires packageView AnswerAnswer: C
Which grep command will print only the lines that do not end with a / in the file foo?
Which grep command will print only the lines that do not end with a / in the file foo?A . grep'/$' foo B. grep '/#' foo C. grep -v '/$' foo D. grep -v '/#' fooView AnswerAnswer: C
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.txt B. tr -c ' ' < a.txt > b.txt C. tr -d ' ' < a.txt > b.txt D. tr -r ' ' '' < a.txt...
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)
Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)A . esc ZZ B. ctrl :w! C. esc zz D. esc :wq! E. ctrl XXView AnswerAnswer: A,D