Skip to content

↑↓ moveEnter openEsc close

Go to the end of the line in Bash

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

In Bash and Zsh, press Ctrl+E on Mac, Linux, Windows.

What else uses Ctrl+E?

More Bash shortcuts: moving the cursor

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

All 36 Bash shortcuts