《RedHat Red Hat Linux Essentials RH033题库》.pdf
文本预览下载声明
RH033
RH033
Red Hat Linux Essentials
Version 3.5
买题库 QQ:860424807
RH033
QUESTION NO: 1
You work as a Network Administrator for McNeil Inc. The company has a Linux-based
network. A printer is configured on the network. You want to remove a file from a print
queue. Which of the following commands will you use to accomplish this?
A. LPR
B. LPQDEL
C. LPRM
D. LPQ
Answer: C
Explanation:
The LPRM command is used to remove a file from a print queue.
Answer option D is incorrect. The LPQ command reports the status of a print queue.
Answer option A is incorrect. The LPR command is used to submit a file for printing.
Answer option B is incorrect. There is no command such as LPQDEL in Linux.
QUESTION NO: 2
You are a newly appointed Red Hat Technician for company Inc. The company has a
Linux-based network. You want to install a package named httpd on your Linux system.
Before installing the package, you want to get the list of those packages that httpd
depends on. Which of the following commands will you use to accomplish the task?
A. rpm deplist httpd
B. yum deplist httpd
C. yum list httpd
D. rpm -qR httpd
Answer: B
Explanation:
If the package is not yet installed, the yum deplist httpd command is used to get the list of
packages that httpd depends on.Answer option C is incorrect. The yum list httpd
command can be used to list various information about available packages. For example,
it lists all available and installed packages and all packages with updates available in the
yum repositories.
Answer option D is incorrect. If the package is already installed, the rpm -qR httpd
command is used to get the list of packages that this package depends on.
Answer option A is incorrect. This command is incorrect. The deplist option is not used
with the rpm command.
QUESTION NO: 3
You work as the Network Administrat
显示全部