nerdexam
Juniper

JN0-102 · Question #166

Which CLI keyboard sequence allows you to move the cursor to the beginning of the line?

The correct answer is D. Ctrl+a. In Junos OS CLI, the keyboard shortcut Ctrl+a moves the cursor to the very beginning of the current command line.

User Interface Options

Question

Which CLI keyboard sequence allows you to move the cursor to the beginning of the line?

Options

  • ACtrl+e
  • BCtrl+p
  • CCtrl+w
  • DCtrl+a

How the community answered

(32 responses)
  • B
    6% (2)
  • C
    3% (1)
  • D
    91% (29)

Why each option

In Junos OS CLI, the keyboard shortcut `Ctrl+a` moves the cursor to the very beginning of the current command line.

ACtrl+e

`Ctrl+e` typically moves the cursor to the end of the line, not the beginning.

BCtrl+p

`Ctrl+p` typically recalls the previous command from the history, not moving the cursor.

CCtrl+w

`Ctrl+w` typically deletes the word before the cursor, not moving it to the beginning of the line.

DCtrl+aCorrect

`Ctrl+a` is a common keyboard shortcut in many command-line interfaces, including Junos OS, for moving the cursor to the start of the current line, allowing for quick edits at the beginning of a command.

Concept tested: Junos OS CLI keyboard shortcuts

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/concept/cli-mode-editing-keys.html

Topics

#CLI shortcuts#keyboard shortcuts#Junos CLI

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice