TAB
- Gives you suggestions / completes stuff for you. Type a, Press it twice, it will make your life a lot easier.
ctrl+w
- Remove word behind cursor.
ctrl+u
- Undo / Erase everything from cursor to beginning of the line
!!
- Type out whatever you typed out last, can be combined with tools like sudo
alt+f
- Go forward to the end of the previous word
alt+b
- Move cursor back to the beginning of the previous word
ctrl+d
- You’re done? Press ctrl+d to logout. If you’re in a virtual terminal, it may also close the window.
ctrl+z
- Stop the current process. Say you run gvim, and then you want to spawn another process. Press ctrl+z, then type bg. Once you’re done with the “other” process, you may type fg to bring it back into the forground.