nerdexam
Juniper

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.

User Interface Options

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)
  • A
    2% (1)
  • C
    92% (48)
  • D
    6% (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.

ACtrl + u

`Ctrl + u` typically deletes all characters from the current cursor position back to the beginning of the line.

BCtrl + w

`Ctrl + w` typically deletes the word immediately preceding the cursor's current position.

CCtrl + aCorrect

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.

DCtrl + b

`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

#CLI shortcuts#command line editing

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice