TABLE 2-6

Command Line Editing Capabilities (Continued)

 

 

Keystroke

Description

 

 

Control-r

Retypes the line.

Control-q

Quotes the next character. Allows you to insert Control characters.

Control-y

Inserts the contents of the save buffer before the cursor.

 

 

Command Line History

Each shell keeps a short history of all entered commands. To display the command line history, use the history command. After recalling the commands, you can either edit them or execute them by pressing the Return key. A history of at least eight previously typed command lines are saved.

TABLE 2-7lists keystrokes you type to recall previously typed commands.

TABLE 2-7Keystrokes that Recall Previously Typed Command Lines

Keystroke

Description

 

 

Control-p

Selects and displays the previous line for subsequent editing.

Control-n

Selects and displays the next line for subsequent editing.

Control-l

Displays the entire command history list.

 

 

10 Sun Fire 6800/4810/4800/3800 System Controller Command Reference Manual • October 2001

Page 26
Image 26
Sun Microsystems 6800/4810/4800/3800 manual Command Line History, Command Line Editing Capabilities