Keyboard Shortcuts: Erasing a Single Word to the Left | JN0-102 Exam Guide

Erase a Single Word to the Left

Prev Question Next Question

Question

When using keyboard shortcuts, which keystroke combination allows users to erase a single word to the left of the cursor?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

The keystroke combination that allows users to erase a single word to the left of the cursor is D. Ctrl + w.

Ctrl + w is a commonly used keyboard shortcut in various operating systems and applications, including the Junos CLI. When typing a command or text, if you want to delete the word immediately to the left of the cursor, you can use this shortcut.

Here's how it works:

  1. Position the cursor at the end of the word you want to delete.
  2. Press and hold the Ctrl key.
  3. While holding the Ctrl key, press the w key.

This will delete the word to the left of the cursor. If you want to delete multiple words, you can repeat this process.

It's worth noting that Ctrl + a and Ctrl + e are also commonly used keyboard shortcuts in the Junos CLI. Ctrl + a moves the cursor to the beginning of the line, and Ctrl + e moves the cursor to the end of the line. Ctrl + u deletes all the characters to the left of the cursor.

Knowing these keyboard shortcuts can help you be more efficient when working in the Junos CLI or any other command-line interface.