Linux+ 103 test #2 Flashcards
Which of the following commands lists all currently installed packages when using ROM package management?
rpm –query -all
Which of the following commands can be used to download the RPM package kernel without installing it?
Which RPM command will output the name of the package which supplied the file /etc/exports?
rpm -qf /etc/exports
Which file should be edited to select the network locations from which Debian installation package files are loaded?
/etc/apt/sources.list
How do you get a list of files that have been installed from a dpkg package?
dpkg-L pkgname
Which directory must definition files be placed to add additional repositories to yum?
1) yum. repos.d
2) /etc/yum.repos.d
Which option to the yum command will update the entire system? (Specify ONLY the option name without and additional parameter)
update
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specific ONLY the command without any path or parameters)
epkg-reconfigure
Which character, added to the end of the command, runs that command in the background as a child process of the current shell?`
&
When starting a program with the nice command without and additional parameters, which level is set for the resulting process?
10
What does the ? symbol within regular expressions represent?
Match the preceding qualifier zero or one times
What is the effect of the egrep command when the -v option is used?
It only outputs non-matching lines
Which of the following commands moves and resumes in the background the last stopped shell job?
bg
What is the default action of the split command on an input file?
It will break the file into new files of 1,000 line pieces each.