Very useful to realise that you can use Emacs keyboard shortcuts with Juniper JUNOS.
Ctrl-a Moves the cursor to the beginning of the command line, back to the prompt
Ctrl-e Moves the cursor to the end of the command line
Ctrl-b Moves the cursor back one character
Ctrl-k Delete everything from the current cursor position to the end of the line
Ctrl-x Delete the entrie line.
Ctrl-l Bring back the current line
Ctrl-p Scroll back through command history (analogous to up arrow)
Ctrl-n Scroll forward through command history (analogous to down arrow)
Ctrl-r Search command history for a string
Also I find Shift-g in JUNOS to go to the last line or g to to to the first very useful.
Here is a link in the Juniper docs.
http://www.juniper.net/techpubs/en_US/junos10.4/topics/concept/junos-cli-configuration-mode-navigation-modification-overview.html
No comments:
Post a Comment