-->
Previous Table of Contents Next


Pipes

A pipe, as noted by |, is merely one additional redirection tool. It has the advantage of working directly with commands, telling one command to use as input the output of another command. Here’s how it is used:


$ command1 | command2

The combination of commands and a pipe symbol is called a pipeline. Pipes are often used when preparing files for printing.

X Window System Options

Throughout Chapter 5 there are X Window System commands. These commands share a common set of command-line options. Rather than listing these options with every command, we’re listing them here.

OPTION PURPOSE
-background red green blue Sets the background color to red green blue.
-background color Uses color for the window background.
-bg color Uses color for the window background.
-display host:disp_num Connects to a display, as specified with a disp_num-numbered X server (which is almost always 0) on a given host.
-fg color Uses color for the window Foreground.
-fn fontname Uses a specified fontname.
-font fontname Uses a specified font.
-foreground_color red green blue Sets the foreground color to red green blue.
-foreground color Uses color for the window foreground.
-geometry WidthxHeight+x+y Sets the window size (Widthx Height) and position (x+y).
-geometry WidthxHeight Sets the window size.
-geometry +x+y Sets the position of a window’s upper-left corner.
-height rows Sets the height of base window in rows.
-position x y Sets the location of the upper-left corner of window, in x y pixels.
-reverse Reverses the foreground and background colors.
-rv Reverses the foreground and background colors.
-size width height Sets the window size, in width x height pixels.
-Wb red green blue Sets the background to red green blue.
-Wf red green blue Sets the foreground color to red green blue.
-WG WidthxHeight+x+y Sets window size (Widthx Height) and position (x+y).
-WG WidthxHeight Sets the window size.
-WG +x+y Sets the position of window’s upper-left corner, in x y pixels.
-Wh rows Sets the height of the base window in rows.
-Wi Starts window as an icon, rather than as a full window.
-width columns Sets the width of the base window in columns.
-Wp x y Sets the location of the upper-left corner of window in x y pixels.
-Wr host:disp_num Connects to a display, as specified with a disp_num-numbered X server (which is almost always 0) on a given host.
-Ws width height Sets the base window size in width x height pixels.
-Wt fontname Uses specified fontname.
-Ww columns Sets the width of the base window in columns.


Previous Table of Contents Next