Keyboard Shortcuts for Editing Commands in vCSA Bash Shell



  • Keyboard ShortcutDetails
    TabCompletes the current command. If you enter a part of the command name and press the Tab key, the system completes the command name.To view the commands that match a set of characters that you enter, type a character and press the Tab key.
    Enter (at the command line)Runs the command that you entered.
    Enter (at the Moreprompt)Displays the next page of output.
    Delete or BackspaceDeletes the character that is on the left of the cursor.
    Left arrow or Ctrl+BMoves the cursor one character to the left.When you enter a command that extends beyond a single line, you can press the Left Arrow or Ctrl-B keys to go back to the beginning of the command.
    Right arrow or Ctrl+FMoves the cursor one character to the right.
    Esc, BMoves the cursor one word back.
    Esc, FMoves the cursor one word forward.
    Ctrl+AMoves the cursor to the beginning of the command line.
    Ctrl+EMoves the cursor to the end of the command line.
    Ctrl+DDeletes the character selected by the cursor.
    Ctrl+WDeletes the word next to the cursor.
    Ctrl+KDeletes the line forward. When you press Ctrl+K, everything that you entered starting from the cursor location to the end of the command line is deleted.
    Ctrl+U or Ctrl+XDeletes the line backward. When you press Ctrl+U, everything from the beginning of the command line to the cursor location is deleted.
    Ctrl+TChanges the places of the character to the left of the cursor with the character selected by the cursor.
    Ctrl+R or Ctrl+LDisplays the system prompt and command line.
    Ctrl+V or Esc, QInserts a code to indicate to the system that the following keystroke must be treated as a command entry, not as an editing key.
    Up arrow, or Ctrl+PRecalls commands in the history buffer, beginning with the most recent command.
    Down arrow or Ctrl+NReturns to more recent commands in the history buffer after you use the Up arrow or Ctrl+P to recall commands.
    Ctrl+YRecalls the most recent entry in the delete buffer. The delete buffer contains the last 10 items you have cut or deleted.
    Esc, YRecalls the next entry in the delete buffer. The delete buffer contains the last 10 items you have cut or deleted. Press Ctrl+Y first to recall the most recent entry, and then press Esc, Y up to nine times to recall the remaining entries in the buffer.
    Esc, CCapitalizes the character selected by the cursor.
    Esc, UChanges the casing for all characters in the word selected by the cursor, up to the next space, to uppercase.
    Esc, LChanges the capitalized letters in a word from the character selected by the cursor to the end of the word to lowercase.


    http://feedproxy.google.com/~r/Virtualization24x7/~3/Jo8D_rXUzOE/keyboard-shortcuts-for-editing-commands.html

Log in to reply
 

© Lightnetics 2024