➕ BASH SHORTCUTS ➕

Lord777

Professional
Messages
2,577
Reaction score
1,561
Points
113
If you use your terminal, you have different shells such as bash.

I use bash because i like bash, most people use ZSH meanwhile (kali).

A tutorial about changing the shell will come soon, let's focus on the shortcuts.

?, ? - Scroll between last used commands.

?, ? - Move cursor backwards or forwards.

Ctrl + A, Ctrl + E - Move Cursor to begin, Cursor to end of line.

Alt + B, Alt + F - Move cursor backwards or forwards by one word.

Alt + D - Delete a word.

Ctrl + K - Delete to the end of the line.

Ctrl + Y - Paste last deleted text.

Ctrl + T - Swap the two preceding characters with each other

Alt + T - Swap the two preceding words with each other

↹ - Expansion of the command or file name

Ctrl + L - Clear the screen (clear command)

Ctrl + R - Search for previously entered commands

Alt + . - Insert the last used parameter

These were the most important Bash shortcuts
Ctrl + _ - Undo last change
 
Top