Useful keyboard shortcuts for CLI in Linux

No Comments

Useful keyboard shortcuts for CLI (Command Line Interface) in GNU/Linux machine.

Ctrl + a : Send the cursor to the start of the line.

Ctrl + e : Send the cursor to the end of the line.

Ctrl + l : Clear the screen. Same as ‘clear’ command.

Ctrl + k : Cut text from the cursor position to the end of the line.

Ctrl + u : Cut text from the cursor position to the beginning of the line.

Ctrl + y : Short for ‘yank’. Paste the text in the buffer.

Ctrl + Shift + c : Copies the text from CLI.

Ctrl + Shift + v : Pastes the text to CLI.

Categories: Tips and tricks Tags: