Computer Keyboard Shortcuts

All the keyboard shortcuts you need to know for Windows, MacOS and Linux.

System keyboard shortcuts you want to see:

A keyboard shortcut is a combination of keys that helps you do certain tasks more easily. It allows you to do things faster and more efficiently, while also reducing dependency on the mouse. This website contains the most important keyboard shortcuts for Windows and MacOS.

Windows Systemwide Shortcuts Windows Systemwide Shortcuts

Alt+F4
Close the active window
Alt+Space
Open the shortcut menu for the active window
Alt+Tab
Switch between open apps
Ctrl+Esc
Open the Start Menu
Ctrl+Shift+Esc
Open Task Manager
Shift+F10
Display the shortcut menu for the selected item
Win+A
Open Quick Settings / Action Center
Win+I
Open Settings app
Win+L
Lock the screen
Win+Shift+S
Create a screenshot
Win+ /
Snap windows left or right
Win+Tab
Open Task View
Win+X
Open the Quick Link / Power User menu

Windows Key Shortcuts Windows Key Shortcuts

Win
Open or close the Start Menu
Win+Alt+0-9
Open Jump List for app in taskbar position
Win+B
Focus first icon in the Taskbar corner
Win+C
Open Microsoft Copilot (or Search if disabled)
Win+D
Show and hide the desktop
Win+E
Open File Explorer
Win+G
Open Xbox Game Bar
Win+H
Open Voice Typing
Win+K
Open Cast from Quick Settings
Win+M
Minimize all windows
Win+N
Open notification center and calendar
Win+.
Open Emoji Panel
Win+R
Open Run dialog
Win+S / Q
Open Search
Win+V
Open Clipboard History
Win+Z
Open Snap Layouts

Application Specific Shortcuts Application Specific Shortcuts

Command Prompt

Ctrl+C
Copy selected text
Ctrl+V
Paste selected text
F7
View command history

File Explorer

Alt+Enter
Display properties of selected item
Alt+
Go back to previous folder
Alt+P
Toggle Preview Pane
Ctrl+N
Open new window
Ctrl+Shift+N
Create new folder
F2
Rename selected item

Text Editing

Ctrl+A
Select all text
Ctrl+B
Bold text
Ctrl+I
Italicize text
Ctrl+U
Underline text
Ctrl+F
Find text
Ctrl+H
Find and replace
Ctrl+Z
Undo
Ctrl+Y
Redo

Virtual Desktop

Win+Ctrl+D
Create new virtual desktop
Win+Ctrl+ /
Switch between virtual desktops
Win+Ctrl+F4
Close current virtual desktop

Web Browsers

Ctrl+T
Open new tab
Ctrl+W
Close active tab
Ctrl+Shift+T
Reopen closed tab
Ctrl+Tab
Switch to next tab
Ctrl+L
Select address bar
Ctrl+R
Refresh page

Download Windows Shortcuts Cheatsheet

You can also download these shortcuts as a handy PDF file or PNG image.

MacOS Systemwide Shortcuts MacOS Systemwide Shortcuts

Cmd ⌘+Space
Open Spotlight Search (find apps, files, or do math)
Cmd ⌘+Tab
Switch between open applications
Cmd ⌘+Opt ⌥+Esc
Open the "Force Quit Applications" window
Cmd ⌘+Opt ⌥+D
Show or hide the Dock
Ctrl+Cmd ⌘+Power
Force restart the Mac (without saving)
Cmd ⌘+Shift+U
Open the Utilities folder

Window & Desktop Management Window & Desktop Management

Cmd ⌘+H
Hide the current window
Cmd ⌘+M
Minimize the current window
Cmd ⌘+W
Close the current window
Cmd ⌘+Opt ⌥+M
Minimize all windows of the active app
Cmd ⌘+Opt ⌥+H
Hide all windows except the active one
Cmd ⌘+`
Cycle through open windows of the current app
Cmd ⌘+Ctrl+F
Toggle full-screen mode
F3 / Ctrl+
Open Mission Control
Ctrl+
Show all windows of the current application
Ctrl+ /
Switch between desktops

File Management (Finder) File Management (Finder)

Cmd ⌘+N
Open a new Finder window
Cmd ⌘+Shift+N
Create a new folder
Cmd ⌘+O
Open the selected item
Cmd ⌘+Delete
Move selected item to Trash
Cmd ⌘+Shift+Delete
Empty the Trash

Text Editing & Clipboard Text Editing & Clipboard

Cmd ⌘+C / X / V
Copy / Cut / Paste
Cmd ⌘+Z
Undo previous action
Cmd ⌘+Shift+Z
Redo previous action
Cmd ⌘+A
Select all text/items
Cmd ⌘+B / I / U
Bold / Italic / Underline text
Cmd ⌘+ /
Move cursor to beginning/end of line
Cmd ⌘+ /
Move cursor to beginning/end of document
Shift+ /
Select text by character (Left/Right)
Shift+ /
Select text by line (Up/Down)

Web Browsing Web Browsing

Cmd ⌘+T
Open a new tab
Cmd ⌘+Shift+T
Reopen the last closed tab
Cmd ⌘+W
Close the current tab
Cmd ⌘+L
Highlight the URL bar
Cmd ⌘+R
Reload the page
Cmd ⌘+F
Find text on the page
Cmd ⌘+Opt ⌥+ /
Navigate Back/Forward in history

Screenshots & Recording Screenshots & Recording

Cmd ⌘+Shift+3
Capture the entire screen
Cmd ⌘+Shift+4
Capture a selected area
Cmd ⌘+Shift+5
Open screen recording/screenshot options menu

Accessibility Accessibility

Cmd ⌘+F5
Toggle VoiceOver
Opt ⌥+Cmd ⌘+F5
Open Accessibility Options
Cmd ⌘+Opt ⌥+8
Toggle Invert Colors
Cmd ⌘+Opt ⌥++ / -
Zoom in / Zoom out

Terminal Terminal

Cmd ⌘+Opt ⌥+Shift+T
Open Terminal

Download MacOS Shortcuts Cheatsheet

You can also download these shortcuts as a handy PDF file or PNG image.

Linux Systemwide Shortcuts Linux Systemwide Shortcuts

Ctrl+Alt+F1 to F6
Switch to the virtual console.
Ctrl+Alt+F7
Switch to the first graphical terminal.
Ctrl+A
Select all items or text
Ctrl+C
Copy selected text, image, or file to the clipboard.
Ctrl+N
Create a new file in the currently open program.
Ctrl+P
Print the current document.
Ctrl+Q
Quit the application in focus.
Ctrl+S
Save the currently opened file.
Ctrl+V
Paste copied text, image, or some other object from the clipboard.
Ctrl+W
Use this shortcut to close the current file.
Ctrl+X
Cut selected text, image, or file.
Ctrl+Z
Undo the last action.
Ctrl+Alt+D
Minimize all windows and show your desktop. You can repeat it to maximize your windows in the same order.
Ctrl+Alt+L
Locks the screen.
Ctrl+Alt+T
Open a new Terminal window.

Terminal Terminal

!!
Re-execute the most recently executed command.
!$
Print the previously executed command’s last word.
!^
Use the first argument of the previous command in the current command.
!ping
Execute a recently used command from the bash history that began with the word ‘ping’.
!x
Execute a recently used command that began with ‘x’.
Alt+.
Use the last argument of the previous command.
Alt+<
Go to the first line of the bash history.
Alt+>
Go to the last line of the bash history.
Alt+?
Display files or folders in the current path.
Alt+B
Move the cursor one word backward.
Alt+Backspace
Delete the last word.
Alt+D
Delete the word after the cursor.
Alt+Delete
Delete the word before the cursor.
Alt+F
Move the cursor one word forward.
Alt+P
Perform a reverse search in the terminal history.
Alt+R
Revert the changes made in a command line.
Alt+T
Swap the current word with the word preceding it.
Alt+C
Capitalize the character under the cursor.
Alt+L
Use lowercase from the current cursor position to the end of the word.
Alt+U
Use uppercase from the current cursor position to the end of the word.
Ctrl+_
Undo your last keyboard action. Repeat this shortcut to undo multiple times.
Ctrl+A
Move the cursor to the beginning of the line.
Ctrl+E
Move the cursor to the end of the line.
Ctrl+B
Move one character backward.
Ctrl+F
Move one character forward.
Ctrl+C
Send SIGINT signal to kill or abort the current process.
Ctrl+D
Close the current terminal window.
Ctrl+G
Exit the history search mode without running a command
Ctrl+H
Remove the last character typed.
Ctrl+I
Autocomplete a command.
Ctrl+J
Start a new command line.
Ctrl+K
Erase everything from the current cursor position to the end of the line.
Ctrl+U
Erase everything from the current cursor position to the beginning of the line.
Ctrl+L
Clear the Terminal screen. This keyboard shortcut is a substitute for the clear command.
Ctrl+M
Works like the Enter key.
Ctrl+P or Up arrow
Display the previous command.
Ctrl+N or Down arrow
Display the next command.
Ctrl+O
Send the command from the search mode to the terminal and execute it.
Ctrl+Q
If the terminal window stops responding, this shortcut will resume the terminal output.
Ctrl+R
Recall the last command matching the string you typed.
Ctrl+S
Pause the terminal output.
Ctrl+T
Swap the last two characters before the cursor.
Ctrl+W
Delete the command or word preceding the cursor.
Ctrl+XX
Toggle between the beginning of the command line and the current cursor position.
Ctrl+Y
Paste the deleted text on the current cursor position.
Ctrl+Z
Suspend the current command execution and send the current process to the background.
Ctrl+[
Functions as the Escape key.
Esc+T
Swap the last two words before the cursor.
Tab
Autocomplete a command, filename, directory name, and command options.

Download Linux Shortcuts Cheatsheet

You can also download these shortcuts as a handy PDF file or PNG image.

Frequently Asked Questions

(That no one has actually ever asked.)

Computer Keyboard Shortcuts is a comprehensive guide to keyboard shortcuts for a wide variety of software applications. It is designed to help users improve their productivity by providing quick and easy access to commonly used commands and hotkeys.

Browse the list of shortcuts and find the one you need. You’ll figure it out.

Yes, users are encouraged to request new software. You can do that by thinking of a keyboard shortcut really hard and we will mentally receive your message.

No. Maybe. Let’s see.

The website is designed to be accessible and responsive, allowing you to view cheatsheets on mobile devices, tablets, and desktops.

The shortcuts are curated to be as accurate as possible for the specified software versions. However, software updates can sometimes change hotkeys, so it’s always good practice to verify with the specific version you are running.

The official website is ComputerKeyboardShortcuts.org. You are on it.