PowerShell console shortcut keys

Source: Internet
Author: User
Tags delete key terminates

Keys

Function

The cursor moves one character to the left

Ctrl +←

The cursor moves one word to the left

The cursor moves one character to the right

Ctrl +→

The cursor moves one word to the right

Home key

Cursor moves to the beginning of the line

End key

Cursor moves to end of line

Delete key

Delete the character that the cursor points to

Backspace key or Ctrl + H

Delete the first character to the left of the cursor

Ctrl + END Key

Remove all characters from the cursor to the end of the line

ESC key

Clears all characters that are currently entered

Insert key

Insert and Overwrite mode toggle

TAB key

The TAB key automatically completes the command, such as the name of the AutoComplete command,the parameters of the cmdlet command, and the path. If the object of the first prompt is not the result you expect, continuing to enter the TAB key will automatically display the next candidate.

Query history command up

Query history command down

F7 Key

Displays the command history, gives all the commands you have entered in the form of a graphical list window, and optionally executes the command again using the UP and DOWN ARROW keys.

F8 Key

Search the history of the command, after the command to enter a portion of the command, press F8, you can get a history command to match the input. If you have multiple occurrences, press F8 repeatedly to cycle through all the commands you have entered. If the command behavior is empty, all history input commands are matched by default.

F9 Key

Select the history command by number, ask you to enter the number for the command (starting at 0) in the graphical dialog box , and display the command on the screen.

Enter key or Ctrl + M

Carriage return (Enter)

Ctrl + C

Terminates the currently executing command

Ctrl + Break

Terminates the currently executing command

Alt + F7 Key

Clears all previously entered command history

PowerShell console shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.