Moving around through the Juniper JUNOS shell is extremely important – it not only saves time but can help prevent problems from occurring during Maintenance Windows as well as during routine changes in the config. I have included the JUNOS Keyboard sequence for use:
JUNOS CLI Keyboard Sequences
|Move the Cursor|
Move the cursor back one character.
Move the cursor back one word.
Esc+b or Alt+b
Move the cursor forward one character.
Move the cursor forward one word.
Esc+f or Alt+f
Move the cursor to the beginning of the command line.
Move the cursor to the end of the command line.
Delete the character before the cursor.
Ctrl+h, Delete, or Backspace
Delete the character at the cursor.
Delete all characters from the cursor to the end of the command line.
Delete all characters on the command line.
Ctrl+u or Ctrl+x
Delete the word before the cursor.
Ctrl+w, Esc+Backspace, or Alt+Backspace
Delete the word after the cursor.
Esc+d or Alt+d
|Insert Recently Deleted Text|
Insert the most recently deleted text at the cursor.
|Redraw the Screen|
Redraw the current line.
|Display Previous Command Lines|
Scroll backward through the list of recently executed commands.
Scroll forward through the list of recently executed commands.
Search the CLI history in reverse order for lines matching the search string.
Search the CLI history by typing some text at the prompt, followed by the keyboard sequence. The CLI attempts to expand the text into the most recent word in the history for which the text is a prefix.
|Display Previous Command Words|
Scroll backward through the list of recently entered words in a command line.
Esc+. or Alt+.
|Repeat Keyboard Sequences|
Specify the number of times to execute a keyboard sequence.number can be from 1 through 9 andsequence is the keyboard sequence that you want to execute.
Esc+number sequenceor Alt+numbersequence