If you use the Command Line frequently, then here is a list of CMD or Command Prompt keyboard shortcuts in Windows 10/11, that will help you work quicker & smarter.
Here are some common Command Prompt
(CMD) keyboard shortcuts that can help you navigate and manage your
command-line tasks more efficiently:
Basic Navigation and Editing
- Ctrl + A:
Select all text in the current line or command.
- Ctrl + C (or Ctrl + Insert):
Copy selected text.
- Ctrl + V (or Shift + Insert):
Paste copied text.
- Ctrl + Z:
Marks the end of a command. Often seen in Unix/Linux environments.
- Ctrl + Home/End:
Scroll to the beginning or end of the buffer (the window displaying all
commands).
Command History and Manipulation
- Up/Down Arrow:
Navigate through previous commands.
- Right Arrow:
Insert characters from the previous command.
- F3: Repeat the
last command.
- Esc: Clear the
current command.
- F7: Display
command history in a graphical interface.
- Alt + F7:
Clear command history.
Command Line Editing
- Ctrl + Left/Right Arrow: Move cursor to the beginning of the previous or next
word.
- Ctrl + Backspace:
Delete the previous word.
- Home/End:
Move cursor to the beginning or end of the command line.
- Ctrl + Home/End: Move the cursor to the
beginning/end of the console.
- Insert:
Toggle between insert mode and overwrite mode.
- Ctrl + C: Abort the current command.
Clipboard Operations (Windows 10 and later)
- Ctrl + Shift + C:
Copy selected text to clipboard.
- Ctrl + Shift + V:
Paste text from clipboard.
Terminal Control
- Alt + Enter:
Toggle full-screen mode.
- Ctrl + F:
Open the Find dialog box.
- Ctrl + Shift + Plus (+): Increase the font size.
- Ctrl + Minus (-):
Decrease the font size.
- Ctrl + Shift + Arrow Key: Highlight text.
Miscellaneous
- Tab:
Auto-complete file and folder names.
- F2: Copy up to
a specified character.
- Ctrl + ]:
Abort a running command.
These keyboard shortcuts can significantly enhance your productivity when working with the Command Prompt. Feel free to try them out and see how they can streamline your tasks! If you have any other questions or need further assistance, just let me know.
If you are looking for more tips to work better please Like, Comment, Share...