misc

Useful Keyboard Shortcut in Linux

Linux, Google Chrome,Gnome-terminal, Nautilus, Gedit and Nano Keyboard Shortcut to speed up pentester/red teamer task!

Feb 21, 2022·4 min read·By Jobyer Ahmed

If we want to work faster we need to know keyboard shortcuts. Always using mouse sometime boring. Even though, I don't know all keyboard shortcuts. I am going to keep the common used keyboard shortcut!

Shortcut in Debian Linux

These shortcut works on Debina based Linux and Gnome

Super+Shift+Left/RightMove window to left/right monitor
Ctrl+Alt+TabSwitch System Controls
Super+TabSwitch Applications
Alt+EscSwitch Window Directly

System

Super+LLock Screen
Super+AShow All Notifications
Alt+F2Run Command Prompt
Supper or Super+sOverview
LogoutCtrl+Alt+Delete

Window

Alt+F7Move Window
Alt+F8Resize Window
Alt+Up/DownRestore Window
Super+Left/RightSplit on Left/Right
Alt+F4Close Window
Super+hHide Window

Application Shortcut

If the applications are gnome based, same shortcut should work on different distros

Vmware Workstation

Ctrl+Alt+EnterEnter Full Screen
Alt then Alt+EnterExit Full Screen
Ctrl+Alt+Left/RightSwitch To next vm in Full Screen Mode

Gnome Terminal

Shift+Ctrl+TNew Tab
Shift+Ctrl+WClose Tab
Shift+Ctrl+CCopy
Shift+Ctrl+VPaste
F11Full Screen
Ctrl+ +/-Zoom in/out
Shift+Ctrl+F/G/HFind and Find next/previous
Ctrl+Left/Right/1..2Switch Tabs
Shift+Ctrl+Up/DownScroll up down
Shift+Home/EndScroll to Top/End
Ctrl+U/KDelete a Line while cursor at the end/start
Ctrl+YPaste from clipboard
Ctrl+R/PReverse Incremental/Non-Incremental Search

Nautilus

Ctrl+hShow/Hide Hidden Files
Ctrl+RRefresh
F9Toggle Side Pane
Alt+LeftGo Back
Alt+RightForward
Alt+HomeGo Home
Ctrl++/-Zome in/Zoom Out
Ctrl+0Reset Zoom
Ctrl+LGo to location bar
Ctrl+Shift+NCreate New Folder
F2Rename File
Alt+EnterFile Properties
Shift+Ctrl+Mouse dragCreate symbolic link

Google Chrome

Ctrl+NOpen new window
Ctrl+Shift+NNew Incognito Window
Ctrl+TOpen New Tab
Ctrl+Tab/Right/LeftNavigate to tabs
Ctrl+1..8Navigate tabs by tab numbers
Ctrl+9Go to last tab
Ctrl+F4Close Current Tab
Alt+F4Close Current Window
Alt+FChrome Menu
F12Developer Tools
Ctrl+Shift+OBookmarks Manager
Ctrl+L or F6Focus on Location Bar
Ctrl+SSave Current Page
Ctrl+Shift+RReload without cache
TabNavigate to clickable Items
Shift+TabNavigate from the End to Clickable items
Ctrl+UView Source Code
Ctrl+DBookmark
Ctrl+ +/-/0Zoom in, Zoom out and default size
Ctrl+BackspaceDelete Last word

Gedit

Ctrl+OOpen File
Ctrl+NNew File
Ctrl+SSave File
Ctrl+LGo to Line Number
Ctrl+Alt+Right/LeftNext Tab
Ctrl+WClose current Tab
Ctrl+FFind
Ctrl+HFind and Replace
Ctrl+QQuit Gedit

Nano

Ctrl+SSave File
Ctrl+OSave as
Ctrl+KDelete Current Line
Ctrl+XExit from nano (Yes/No for save)
Alt+6Copy Current Line
Ctrl+UPaste Copied Line
Ctrl+QBackward Search
Ctrl+WForward Search
Alt+QFind next occurrence Backward
Alt+WFind next occurrence Forward
Ctrl+TRun command and paste output

Hope this keyboard shortcut is helpful for someone, at least for me :)!