Shortcut keys for the bash and commad line interface.
Ctrl + A - Moves cursor to begining of line.
Ctrl + E - Moves cursor to end fo line.
Ctrl + K - Clears command line from cursor position till end of line.
Ctrl + U - Clears command line from cursor position till begining of line.
Ctrl + W - Clears first word to the left from cursor position.
Ctrl + Y - Paste any value previously deleted by Ctrl+K,Ctrl+U and Ctrl+W.
Tab Key - Auto compelte a partial typed command.
Ctrl + R - Followed by characters with search through the recent command history.
Crtl + D - Quits bash if used in a blank command line.
Ctrl + L - Screen refresh.
Ctrl + C - Kills current process.
Ctrl + Z - Suspend a process. Use command “bg” to execute the process in the background and “fg” to bring the process back to the foreground. The command “jobs” will list the available processes you can manipulate.
That’s it. Hope the commands help you. If i missed out anything please do comment.