Command line shortcuts

command line

I normally don’t use many shortcuts because it’s easier to just use my arrows and mouse to navigate than to memorize shortcuts but I am slowly realizing that the time spent on learning a new shortcut pays off.

However, my memory is not that great and if I try to memorize multiple things at once, it’s guaranteed that I will remember zero of them the next day. What I am trying to do instead is to memorize – and use! – one new shortcut per week. That way I can slowly add a new behaviour to my development process.

Here’s a list of shortcuts I am working on:

CTRL + AMove the cursor to the beginning of the line.
CTRL + EMove the cursor to the end of the line.
CTRL + WErase the preceding word.
CTRL + UErase everything from the cursor to the beginning of line.
CTRL + KErase everything from the cursor to the end of the line.
CTRL + YPasted erased text (if you used CTRL + U or CTRL + K, for example).
Arrow up(or CTRL + P) view the last typed command. I use arrow up all the time but I did’t now that CTRL + P did the same thing!
CTRL + LClear screen

The post Command line shortcuts was originally published at flaviabastos.ca

Related Posts