Frequently Used Linux Terminal Short Cut Command. This short cut will make you easier to edit when you typing into your lovely terminal in Linux. These are some useful keyboard short cut when you typing into terminal :
History
Ctrl-r: Search the history (enter to run the command once found)
Cursor Movement Control
Ctrl-a: Move cursor to the start of a line
Ctrl-e: Move cursor to the end of a line
Ctrl-Left/Right: Navigate word by word (may not work in all terminals)
Scrolling/Buffer Control
Shift-PageUp/PageDown: Scroll through current buffer
Ctrl-s: Pause terminal output (program will keep running)
Ctrl-q: Release terminal output (after being paused)
Ctrl-l: Clears the screen. Use this instead of the clear command.
Modify Text
Ctrl-w: Delete the whole word to the left of the cursor
Ctrl-k: Erase to end of line
Ctrl-u: Erase to beginning of line
Process Control
Ctrl-d: Exit
Ctrl-c: Kill the current process
Ctrl-z: Put the current process in the background (fg will restore it)
And you can: Use ‘!!’ command in the terminal to run last command and ‘!com’ to execute the last command starting with ‘com’. Any keyboard shortcuts that you can’t live without and it will make us easier to work with terminal? Tell us about it through the comments below.