Linux command line tip and tricks

There are some useful shortcuts in the the command line that can make life abit easier.

ctrl+k = delete everything from this char onwards.
ctrl+u = delete everything before this char.
ctrl + a = move cursor to the first char
ctrl + e = move cursor to end of char
ctrl + rightarrow = move one word after this char
ctrl + leftarrow = move one word before this char
alt + backspace= delete word before this char
alt + d = delete word after this char
Like it.? Share it:

Comments are closed.