JN0-102 · Question #361
Which keystroke combination allows users to move the cursor to the beginning of the command line without deleting text?
The correct answer is C. Ctrl + a. The keystroke combination Ctrl + a allows a user to move the cursor to the very beginning of the command line in the Junos CLI without deleting any text.
Question
Which keystroke combination allows users to move the cursor to the beginning of the command line without deleting text?
Options
- ACtrl + u
- BCtrl + w
- CCtrl + a
- DCtrl + b
How the community answered
(52 responses)- A2% (1)
- C92% (48)
- D6% (3)
Why each option
The keystroke combination `Ctrl + a` allows a user to move the cursor to the very beginning of the command line in the Junos CLI without deleting any text.
`Ctrl + u` typically deletes all characters from the current cursor position back to the beginning of the line.
`Ctrl + w` typically deletes the word immediately preceding the cursor's current position.
The `Ctrl + a` keystroke combination is a standard command-line editing shortcut, universally recognized across many Unix-like environments and implemented in the Junos CLI, which repositions the cursor to the start of the current input line without affecting the text.
`Ctrl + b` typically moves the cursor backward by one character, not to the beginning of the entire line.
Concept tested: Junos CLI command-line editing shortcuts
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/topic-map/cli-juniper-networks-router.html
Topics
Community Discussion
No community discussion yet for this question.