Download Cyclades® ACS Advanced Console Server
Transcript
Chapter 1: Using the Command Line Interface Using CLI hotkeys The CLI hotkeys may be used to perform the following types of actions: • Move the cursor on the command line. • Move through the list of commands in the command history. • Edit characters on the command line. Table 1.3: Cursor Movement Keys Keyboard Keys Description Ctrl+a Move to the start of the current line. Ctrl+e Move to the end of the line. Ctrl+b Move back a character (same as the left arrow key). Ctrl+f Move forward a character (same as the right arrow key). Esc+b Move back to the start of the current or previous word. Words are composed of letters and digits. Esc+f Move forward to the end of the next word. Words are composed of letters and digits. Ctrl+l Clear the screen and redraw the current line, leaving the current line at the top of the screen. Table 1.4: Command History Keys Keyboard Keys Description Ctrl+n Move forward through the history list, fetching the next command (same as <down arrow key>). Ctrl+p Move back through the history list, fetching the previous command (same as <up arrow key>). NOTE: The command history buffer is only available for the last 500 commands in the current session. The history is cumulative, so terminating the session does not clear the buffer. This means a user may log in to the CLI and go back over the commands entered by a previous user. Table 1.5: Text Modification Keys Keyboard Keys Description Ctrl+d Delete the character under the cursor (same as Delete key). Ctrl+h Same as Backspace key. Ctrl+k Clear the text from the cursor to the end of the line. 5