May 14

Bash and Zsh Keyboard Shortcuts

0  comments

Keyboard shortcuts save steps and knowing these few shortcuts when working on the command-line can save a lot of time and typing.

Ctrl-A: Moves to the beginning of the current line
Ctrl-E: Moves to the end of the current line
Alt-F: Moves the cursor forward one word on the current line
Alt-B: Moves the cursor backwards one word on the current line

Ctrl-U: Clears the characters on the line before the current cursor position
Ctrl-K: Clears the characters on the line after the current cursor position (Bash)Ctrl-U: Clears the entire line (zsh)

Ctrl-W: Deletes the word in front of the cursor
Alt-D: Deletes the word after the cursor

Alt-U: Makes the current word after the cursor uppercase
Alt-L: Makes it lowercase
Alt-C: Capitalizes the letter after the cursor


Other posts about scaling up businesses

I Only Own One Pair Of Shoes

Leave a Reply

Your email address will not be published. Required fields are marked

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
free playbook

Get Your Free 5E Playbook

My 5E playbook is now available for a limited time!

__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"62516":{"name":"Main Accent","parent":-1}},"gradients":[]},"palettes":[{"name":"Default Palette","value":{"colors":{"62516":{"val":"var(--tcb-skin-color-0)"}},"gradients":[]}}]}__CONFIG_colors_palette__
Get Your Playbook