Lowercase the word in Bash
In Bash and Zsh, press Option+L (Mac), Alt+L (Linux, Windows).
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=deleteInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'return
ShiftZXCVBNM,./Shift↑
fnctrloptcmdcmdopt←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlSuperAltAltSuperMenuCtrl←↓→
EscF1F2F3F4F5F6F7F8F9F10F11F12PrtScScrLkPause
`1234567890-=BkspInsHomePgUp
TabQWERTYUIOP[]\DelEndPgDn
CapsASDFGHJKL;'Enter
ShiftZXCVBNM,./Shift↑
CtrlWinAltAltWinMenuCtrl←↓→
See it happen Press the shortcut above, or
More Bash shortcuts: cutting and pasting
| Action | Mac | Linux | Windows |
|---|---|---|---|
| Cut from the cursor to the start of the line | CtrlU | CtrlU | CtrlU |
| Cut from the cursor to the end of the line | CtrlK | CtrlK | CtrlK |
| Cut the word before the cursor | CtrlW | CtrlW | CtrlW |
| Cut the word after the cursor | OptionD | AltD | AltD |
| Paste the last cut text | CtrlY | CtrlY | CtrlY |
| Delete the character before the cursor | CtrlH | CtrlH | CtrlH |
| Delete the character under the cursor | CtrlD | CtrlD | CtrlD |
| Swap the last two characters | CtrlT | CtrlT | CtrlT |
| Swap the last two words | OptionT | AltT | AltT |
| Uppercase the word | OptionU | AltU | AltU |