Welcome to my blog

February 21, 2023

List of keyboard shortcuts

Filed under: Computers — admin @ 2:26 pm

Here are some keyboard shortcuts that i used to use

– in the linux shell, type the beginning of a command that you usually use and press two times on the tab key, the way to let it guess what should follow or to get choices between several possibilities

– shift+fn and key up or down to scroll the text rapidly in the shell

– ctrl+shift and key up or down to scroll the text slowly in the shell

– fn and key up or down in the vi or nano editor to scroll the text faster

– ctrl+d in the web browser to bookmark the page

– alt+tab to switch between opened applications

– ctrl+c to terminate a console program

– under Linux : ctrl+alt+backspace to close the active session (useful in case of blocking)

– under Linux : hold alt+left click on the inside of a Windows and move it

– key “F2” to rename a file in the file explorer

– ctrl+a to select all files or all text

– ctrl+c to copy the selection

– ctrl+v to paste the selection

– ctrl+x to cut the selection

– ctrl+t to open a new tab in the web browser

– alt+f4 to close a window

– key up or down in the shell to recover commands done previously

– backspace in the file explorer to go back to the parent directory or to go back to the previous page in the web browser

– the vi editor under Linux is a bit complicated to use. Here are some tips :
Press the “a” key to begin to type your text and press ecape when you have finished the typing
Type : “/mysearch” and press enter to search for “mysearch” in the file, then press “n” to go to the next occurrence and shift+n to go to the previous occurrence.
Exit the typing (escape) and press two times on “d” to delete an entire line.
Type “:q” and press enter to quit or “:q!” to quit without saving the changes. Type “:wq” to save and quit the file.

– in notepad, gedit, web browsers or all other text editors : ctrl+f to search for a string

– only in notepad, Windows editors and web browsers under Windows or Linux : after a string search press “F3” to go to the next occurrence.

– in majority of editors press ctrl+s to save changes

– Using keyboard shortcuts for copy pasting in the terminal. On Ubuntu and many other Linux distributions, you can use Ctrl+Insert or Ctrl+shift+C for copying text and Shift+Insert or Ctrl+shift+V for pasting text in the terminal.
Ctrl+Insert to copy and shift+insert to paste text in the shell or in vi, nano or in all other shell editor

– in the shell : double click on a word, then right click on it and copy to copy the text

– ctrl+alt+l to lock the current session

– ctrl+alt+t to run the linux terminal

– set focus to the url bar in your webbrowser: alt+d

– exit session from command line: ctrl+alt+t then gnome-session-quit

– shift+page up or shift+page down to scroll the text in the terminal

– Create Symlink in Linux
To create a symlink without a terminal, just hold Shift+Ctrl and drag the file or folder you want to link to to the location where you want the shortcut.

– type “whereis myfile” in the terminal where myfile is the file you are looking for

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress