Nithin Bekal Posts About

Terminal Shortcuts

18 Apr 2015

Some shortcuts to use while working in the terminal:

Ctrl-A  Go to start of line
Ctrl-E  Go to end of line
Ctrl-L  Clear screen without clearing current line
Ctrl-R  Search previous commands
Ctrl-W  Delete one word
Ctrl-U  Delete back to start of line
Ctrl-Z  Move currently running command to bg (bring it back using `fg`)

Esc-B   Move back one word
Esc-F   Move forward one word
Esc-U   Make current word uppercase

Links

Nithin Bekal
Hi, I’m Nithin! This is my blog about programming. Ruby is my programming language of choice and the topic of most of my articles here, but I occasionally also write about Elixir, and sometimes about the books I read. I'm @nithinbekal on Twitter.