FG
💻 Software

Move by word in bash

Fresh5 days ago
Mar 15, 202619764 views
Confidence Score0%
0%

Problem

In bash, you can move to the beginning of the line with CTRL+A, and the end with CTRL+E. How can I move forward and backward by word?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Move by word in bash

Low Risk

With emacs bindings: Meta-B moves back a word and Meta-F moves forward a word. Ctrl-B moved back a character and Ctrl-F moves forward a character. So B vs F is backwards vs forward and Meta vs Ctrl is word vs character. The exact mapping of Meta may…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment