- CompTIA Linux+ Certification Guide
- Philip Inshanally
- 257字
- 2021-08-13 15:49:56
Questions
- Which option with the dpkg command is used to display the packages that dpkg is managing on a system?
A. dpkg -a
B. dpkg -l
C. dpkg -i
D. dpkg –d
- Which option with dpkg-query is used to show a human-readable description of a package?
A. dpkg-query -a
B. dpkg-query-c
C. dpkg-query -s
D. dpkg-query-r
- Which log file is used to display dpkg package-related messages?
A. cat /var/log/dpkg.log
B. cat /var/dpkg/dpkg.log
C. cat /var/dpkg-query/dpkg.log
D. cat /var/log/dpkg.dpkg
- Which option is used to display packages that are installed with the dpkg command?
A. dpkg --get-selections
B. dpkg –set-selections
C. dpkg –get-selection
D. dpkg-query –get-selection
- Which option is used to add a package using the dpkg command?
A. dpkg -e
B. dpkg –r
C. dpkg -Add
D. dpkg -i
- Which option is used to remove a package along with its configuration files using the dpkg command?
A. dpkg -p
B. dpkg-e
C. dpkg -P
D. dpkg-a
- Which option is used to update apt cache?
A. apt-get -c
B. apt-get update
C. apt-get upgrade
D. apt-get -u
- Which command is used to search the cache for a package?
A. apt-get search
B. apt-cache search
C. apt-get -update
D. apt-get clean
- Which option is used to remove a package and its configuration using the apt command?
A. apt-get remove
B. apt-get purge
C. apt-get --remove
D. apt-get --update
- Which option is used to update the package list using the aptitude command?
A. aptitude purge
B. aptitude clean
C. aptitude update
D. aptitude --clean
推薦閱讀
- Mastering Hadoop 3
- 計(jì)算機(jī)應(yīng)用
- 大數(shù)據(jù)管理系統(tǒng)
- 數(shù)據(jù)中心建設(shè)與管理指南
- 現(xiàn)代機(jī)械運(yùn)動(dòng)控制技術(shù)
- 計(jì)算機(jī)網(wǎng)絡(luò)原理與技術(shù)
- 運(yùn)動(dòng)控制系統(tǒng)應(yīng)用與實(shí)踐
- Applied Data Visualization with R and ggplot2
- 電氣控制與PLC原理及應(yīng)用(歐姆龍機(jī)型)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)訓(xùn)·職業(yè)模塊
- 智能+:制造業(yè)的智能化轉(zhuǎn)型
- Machine Learning in Java
- Windows 7來(lái)了
- Hands-On Microservices with C#
- MySQL Management and Administration with Navicat