Windows Console Key Shortcuts

By Xah Lee. Date: . Last updated: .
Windows Console
Windows Console.

Windows Console Keyboard Shortcuts

Cursor Navigation Keys
HomeBeginning of Line
EndEnd of Line
Ctrl+Move cursor to previous word
Ctrl+Move cursor to next word
Ctrl+cCancel current command or clear the current command line

Here's the most useful Windows Console keyboard shortcuts:

Windows Console Command History Features
Previous command
Next command
Page UpFirst Command
Page DownLast Command
F8Search command history by a string

Here's some almost useless keys:

Idiotic Windows console navigation keys
F2Type previous command up to a char
F3Display previous command
F4Delete char forward up to a char
F5Same as
F7List command history
F9Run a previous command by its number index

Windows Console Tips

How to copy and paste in Windows console?

For using mouse, you need to enable it first. Right click on the window, then select “Properties”, click the “Options” tab. Check the “QuickEdit Mode”, press OK. Once that is done, you have copy and paste by mouse enabled.

Is there a way to page up/down in Windows console?

Press 【Alt+Space e l】. This invokes the menu 〖file ▸ Edit ▸ Scroll〗 and activate the scroll mode. Then, arrow keys does page up/down. To exit, press 【Enter】 or 【Escape】.

Is there a keyboard shortcut to delete a whole word?

No. However, you can move by word, using 【Ctrl+】 and 【Ctrl+】.

Is it possible to get Windows console to display Unicode such as Chinese?

Type chcp 65001. This will change output's encoding to utf-8. Also, you need to change font to Lucinda Console. However, even this doesn't work well, because Lucinda Console does not contain main Unicode symbols, and i still get dangerous beeps when type my_unicode.txt.

See: help chcp. For a list of codes, see: Code page.


Is there a app bundled with Windows Vista to do ssh?

Basically no. You can use PuTTY and Tera Term. Or, install cygwin and add openssh package.

Windows does not have the unix tradition of telnet/ssh to remote computers to do sys admin. (However, it does support remote computing, based on Remote Desktop Services.)

Windows Console Problems

Windows Console Alternatives

PowerShell ISE
PowerShell ISE powershell_ise.exe.

If you are using PowerShell, a much better solution is to use the Windows PowerShell ISE instead. (ISE = Integrated Scripting Editor). The PowerShell ISE is bundled with PowerShell. The PowerShell ISE has split panes that lets you run commands in one pane and do script editing in another pane. And if you do not need to write scripts, you can close that pane and use it just like Windows Console. Also, PowerShell ISE can display Unicode chararacters, support color, support page up/down buttons, has keyboard shortcuts to delete by word, etc.

Emacs as Console Substitute

Emacs: Run Shell in Emacs

2011-03-31 Thanks to Mouffe K rema [] for tip about copy/paste keys. Thanks to iainelder for tip on paging keys.

Microsoft Windows Tutorial

  1. PowerShell Basics
  2. Microsoft Windows Registry Tutorial
  3. Windows Console Key Shortcuts
  4. Windows Environment Variables Tutorial
  5. Installing Cygwin Tutorial
  6. Windows CLSID Explained
  7. How to Install Linux on VirtualBox

Windows Keyboard How-To

  1. Windows Keyboard Software Guide
  2. AutoHotkey Tutorial
  3. AutoHotkey Syntax
  4. AutoHotkey Scripts
  5. Swap CapsLock, Alt, Control
  6. Toggle Max Window
  7. Disable CapsLock, Win Key
  8. Window Key Shortcuts
  9. Microsoft Windows Key Shortcuts
  10. cmd Console Shortcuts
  11. Swap Mouse Buttons

If you have a question, put $5 at patreon and message me.