➤ KEYBOARD SHORTCUTS FOR UBUNTU:-
-
Ctrl + Shift + N => New terminal window This shortcut can be used to open a new terminal window. For this to work, you should already be on the terminal window.
-
Ctrl + Shift + T => New terminal tab If you use above combination, you can open terminal tab on same window.
-
Ctrl + C or Ctrl + Z => Kill the current process If you are running any application through the terminal, you can kill it by using the above combination.
-
Ctrl + R => Reverse search If you are working in the IT industry or you are a college student, many times the same command repeats. To search previously entered command, we can use above combination.
-
Ctrl + U => Delete line This shortcut will delete the whole line before the cursor.
-
Ctrl + W => Delete the word This shortcut will delete the whole word before the cursor.
-
Ctrl + K => Delete the word This shortcut will delete the whole line after the cursor.
-
Ctrl + Y => Undo erased content If you have mistakenly deleted some content using Ctrl + U, Ctrl + W or Ctrl + K and now you want to undo the change. You can do so by using the above combination.
-
Ctrl + L => Clear console This is similar to clear command used to clear the console.
-
Ctrl + Shift + C => Copy This shortcut is used to copy the selected content.
-
Ctrl + Shift + V => Paste the content from the clipboard This shortcut is used to paste the content copied in the clipboard.
-
Alt + F => Move forward This combination is used to move one word forward. Alternatively, we can use the Ctrl + right arrow to do so.
-
Alt + B => Move one word backward This combination is used to move one word backward. Alternatively, we can use the Ctrl + left arrow to do so.
-
Arrow Up / Down => Browse commands To go through the previously executed commands, we can use up or down arrow keys.
-
Alt + D => Delete line This is similar to the Ctrl + U, except it removes line after cursor.
-
Shift + PgUp/PgDn => Scroll through console We can use the above combination to scroll up or scroll down through the console.
-
Ctrl + PgUp => Switch to left tab We have seen we can use the Ctrl + Shift + T to open a new terminal tab. To move to the left tab, we can use the above shortcut.
-
Ctrl + PgDn => Switch to right tab Similarly, we can use above shortcut to move to right tab.
-
Ctrl + Shift + PgUp => Move current tab to left We can use the above shortcut to move the current tab to left.
-
Ctrl + Shift + PgDn => Move current tab to right We can use the above shortcut to move the current tab to right.
-
Ctrl + D => Close terminal This combination is used to close the current tab. If there is only one tab, it’ll close the terminal window.
-
Ctrl + P => Previous executed command We can go through the previously executed sequence of commands using the above shortcut.
-
Ctrl + N => Next executed command We can go through the next executed sequence of commands using the above shortcut.
-
Ctrl + J => Enter
-
Ctrl + Alt + T => Open terminal
-
Ctrl + Shift + Q => Close all This will close all tabs on the current terminal window. This will not close the other open terminal windows.
-
Super + RowUp => Maximize This is used to maximize the terminal window.
-
Super + RowDown => Minimize This is used to minimize the terminal window.
-
Ctrl + Shift + F => Find Similar to Ctrl + F on any text editor, we can use the above shortcut to find through the terminal console.
-
Alt + C => Capitalizes the word next to the cursor and move to end of the word For Example: Suppose a word hangout and cursor is before hangout, the above shortcut will capitalize ‘h’ of hangout and go to the end of the word.
-
Use of Tab => To get suggestions We can enter a partial initial command such as MySQL, and we’ll get a list of the commands that start with MySQL.