Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. What command would you use to remove a print job, numbered 203, from the queu

ID: 3874543 • Letter: 1

Question

1. What command would you use to remove a print job, numbered 203, from the queue for the brother printer?

Select one:

a.prm -Pbrother 203

b.lpc -Pbrother 203

c. lpq 203 -Pbrother

d. lpr -r 203 -Pbrother

2. What is the purpose of the DISPLAY environment variable?

Select one:

a. It sets the hostname and number of the X server.

b.It sets the driver used by the X server.

c. It sets the number of monitors attached to the computer.

d.It sets the type of terminal emulation supported by the text login device.

3. A workstation’s user prefers KDE over GNOME. Which login manager can this user run to ensure direct login to KDE?

Select one:

a. XDM

b. KDM

c. GDM

d. Any of the above

4. Which of the following programs formats a text file for printing on a PostScript printer, optionally converting it to print multiple source pages on a single sheet, setting fonts, and so on?

Select one:

a. mpage

b. gs

c. xpdf

d. cupsd

5. What time standard does Linux use internally for most timekeeping (time stamps on files, for instance)?

Select one:

a. UTC

b. Internet time

c. Local time

d. US East Coast time

6. What does the Modeline entry in XF86Config or xorg.conf specify?

Select one:

a. The monitor timings associated with a particular resolution and refresh rate

b. The maximum horizontal and vertical refresh rates of which a monitor is capable

c. The maximum horizontal and vertical refresh rates a video card can produce

d. Whether or not XFree86 should attempt to use the DDC protocol

Explanation / Answer

1) Answer: lpr -r 203 -Pbrother

Explanation:

2) Answer: It sets the hostname and number of the X server.

Explanation: A display is managed by a server program, known as an X server. The server serves displaying capabilities to other programs that connect to it.

A display is indicated with a name, for instance:
DISPLAY=light.uni.verse:0
DISPLAY=localhost:4
DISPLAY=:0

3) Answer: KDM

Explanation:

4) Answer: mpage

Explanation: mpage reads plain text files or PostScript documents and prints them on a PostScript printer with the text reduced in size so that several pages appear on one sheet of paper. This is useful for viewing large printouts on a small amount of paper.

Some of the most common arguments are:

Wheras cupsd is the scheduler for the Common UNIX Printing System. It implements a printing system based upon the Internet Printing Protocol.

And, xpdf is a pdf viewer.

5) Answer: UTC

Explanation: Unix time( time standards mainted by Unix) is a system for describing a point in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC).

6) Answer: The maximum horizontal and vertical refresh rates of which a monitor is capable

Explanation: A modeline is a configuration line in xorg.conf or the XFree86 configuration file (XF86Config) that provides information to the display server about a connected computer monitor or television and how to drive it at a specified display resolution. Using this value, we can control the horizontal and vertical refresh rates.