Ivan Tomica

Useful bash shortcuts

Moving around:

CTRL + A # beginning of the current line
CTRL + E # end of the current line
Alt + F # one word forward
Alt + B # one word back

Text manipulation:

CTRL + U # delete characters before cursor
CTRL + K # delete characters after cursor
CTRL + W # delete word before cursor
Alt + D # delete word after cursor
Alt + U # word after cursor to uppercase
Alt + L # word after cursor to lowercase
Alt + C # capitalize a word
Sysadmin on the everlasting journey of learning.


Leave a Reply

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