Skip to content

↑↓ moveEnter openEsc close

Lowercase the 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+L (Mac), Alt+L (Linux, Windows).

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

More Bash shortcuts: cutting and pasting

ActionMacLinuxWindows
Cut from the cursor to the start of the lineCtrlUCtrlUCtrlU
Cut from the cursor to the end of the lineCtrlKCtrlKCtrlK
Cut the word before the cursorCtrlWCtrlWCtrlW
Cut the word after the cursorOptionDAltDAltD
Paste the last cut textCtrlYCtrlYCtrlY
Delete the character before the cursorCtrlHCtrlHCtrlH
Delete the character under the cursorCtrlDCtrlDCtrlD
Swap the last two charactersCtrlTCtrlTCtrlT
Swap the last two wordsOptionTAltTAltT
Uppercase the wordOptionUAltUAltU

All 14 in cutting and pasting · All 36 Bash shortcuts