Skip to content

↑↓ moveEnter openEsc close

Forward one word in Bash

Bash Bash 5.2 / Zsh 5.9 · 36 shortcuts · checked Nov 2026 · Source: GNU Project docs

In Bash and Zsh, press Option+F (Mac), Alt+F (Linux, Windows).

What else uses Option+F? · What else uses Alt+F?

More Bash shortcuts: moving the cursor

ActionMacLinuxWindows
Go to the start of the lineCtrlACtrlACtrlA
Go to the end of the lineCtrlECtrlECtrlE
Back one wordOptionBAltBAltB
Back one characterCtrlBCtrlBCtrlB
Forward one characterCtrlFCtrlFCtrlF
Jump between the start of the line and the cursorCtrlX,CtrlXCtrlX,CtrlXCtrlX,CtrlX

All 36 Bash shortcuts