Memorise

Juniper Keyboard Sequences to Move Around and Edit the Junos OS CLI

Table 1: CLI Keyboard Shortcuts

Keyboard sequenceAction
Ctrl+bMove the cursor back one character.
Esc+b or Alt+bMove the cursor back one word.
Ctrl+fMove the cursor forward one character.
Esc+f or Alt+fMove the cursor forward one word.
Ctrl+aMove the cursor to the beginning of the command line.
Ctrl+eMove the cursor to the end of the command line.
Ctrl+h, Delete, or BackspaceDelete the character before the cursor.
Ctrl+dDelete the character at the cursor.
Ctrl+kDelete the all characters from the cursor to the end of the command line.
Ctrl+u or Ctrl+xDelete the all characters from the command line.
Ctrl+w, Esc+Backspace, or Alt+BackspaceDelete the word before the cursor.
Esc+d or Alt+dDelete the word after the cursor.
Ctrl+yInsert the most recently deleted text at the cursor.
Ctrl+lRedraw the current line.
Ctrl+pScroll backward through the list of recently executed commands.
Ctrl+nScroll forward through the list of recently executed commands.
Ctrl+rSearch the CLI history incrementally in reverse order for lines matching the search string.
Esc+/ or Alt+/Search the CLI history for words for which the current word is a prefix.
Esc+. or Alt+Scroll backward through the list of recently entered words in a command line.
Esc+number sequence or Alt+number sequenceSpecify the number of times to execute a keyboard sequence.

Categorised as: Juniper, Junos Space, SRX


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.