Which of the following commands shows the current color depth of the X Server?

A.

xcd

B.

xcdepth

C.

xwininfo

D.

xcolordepth

E.

cat /etc/X11

题解

选项 A,没有「xcd」指令。

选项 B,没有「xcdepth」指令。

选项 C,「xwininfo」指令运行之后可以直接借由鼠标点击想要得知一些相关属性的窗口,来显示该窗口的相关属性,其中也包含了色彩深度的信息。所以这个选项是正确答案。

选项 D,没有「xcolordepth」指令。

选项 E,「/etc/X11」是一个目录,无法直接使用「cat」指令来读取文字内容。