JN0-102 · Question #44
When using keyboard shortcuts, which keystroke combination allows users to erase a single word to the left of the cursor?
The correct answer is D. Ctrl + w. When using keyboard shortcuts in the Junos OS command-line interface, the Ctrl + w combination allows users to erase a single word to the left of the cursor.
Question
When using keyboard shortcuts, which keystroke combination allows users to erase a single word to the left of the cursor?
Options
- ACtrl + a
- BCtrl + e
- CCtrl + u
- DCtrl + w
How the community answered
(35 responses)- A6% (2)
- B3% (1)
- D91% (32)
Why each option
When using keyboard shortcuts in the Junos OS command-line interface, the Ctrl + w combination allows users to erase a single word to the left of the cursor.
Ctrl + a moves the cursor to the beginning of the line, it does not erase a word.
Ctrl + e moves the cursor to the end of the line, it does not erase a word.
Ctrl + u deletes the entire line from the cursor to the beginning, not just a single word to the left.
Ctrl + w is a common Unix-like command-line shortcut used in Junos OS to delete the word immediately preceding the cursor.
Concept tested: Junos CLI keyboard shortcuts - word deletion
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/topic-map/junos-basics-cli-edit-navigation.html
Topics
Community Discussion
No community discussion yet for this question.