Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Basic daily Windows commands (keyboard shortcuts)

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Win enter cmd: open a command prompt

Exit: exit the dos command line

Cls/clear: tells the computer to empty the current command

*: is a wildcard.

Tab key: command completion

Up arrow "↑" and down arrow "↓" to view the history of executed commands, "F3" key to view the last command

ESC: clear the current command line

F7: displays the command history, gives all commands that have been entered in the form of a graphical list window, and can use the up and down arrow keys to choose to execute the command again

Note: pressing the Enter key after selection will be executed immediately and cannot be modified. You can press the right arrow key and execute it after editing.

Alt+F7: clears the history of all commands that have been entered

F9: select a command by number (command history displayed by F7), ask you to enter the number corresponding to the command (starting at 0) in a graphical dialog box, and display the command on the screen

Ctrl+C/Ctrl+Break: forcibly abort the execution of a command

Ctrl+H: deletes a character to the left of the cursor

Ctrl+M: indicates the enter confirmation key

The right mouse button "tag" is used to select Chinese text, and right-click to complete the assignment.

The right mouse button "paste" is used to paste the clipboard contents to the prompt

Right mouse button "find" to view the text of the current page

1 keyboard function keys and shortcut keys

Open the system screen keyboard:

Window + R, open the run command, enter osk, and enter to open it.

1.1 Keyboard function keys (9)

Serial number

Function key

Description

Action

one

Tab

Tab key

Indent to the right using tab

Use shift + tab to achieve left indentation

Add proper indentation to make our code cleaner and readable.

two

Shift

Upstream conversion key

Convert the case of English letters

Convert numbers and special symbols

Convert input method into Chinese and English, etc.

three

Ctrl

Control key

Do not use alone, and other keys to form a combination of fast key building

four

Alt

The word "Alter" is abbreviated, which means "change" in Chinese.

Do not use alone, and other keys to form a combination of fast key building

five

Space

The longest key on the keyboard

Enter spaces in text editing

Confirm the first option in the input method.

six

Enter

Enter key

The enter key has two functions:

One is to confirm the input execution command.

Second, it plays the role of line wrapping in word processing.

seven

Window key

Window logo key

Window + D Quick display Desktop

Window + Run execute run command

Window + E to open my computer

Window + L locks the screen.

eight

↑↓←→

The next key about

Cursor movement key

Used to move the cursor quickly.

nine

PrtSc

Screen hard copy key, PrtSc is the abbreviation of PrintScreen

Screenshot.

1.2 Keyboard shortcuts (6 + 1 supplement)

1) Select all Ctrl+A

2) Ctrl+C replication

3) Ctrl+V paste

4) Ctrl+X shear

5) Ctrl+Z revocation

6) Ctrl+S preservation

Add: Ctrl+Y redo, undo the same step as Ctrl+Z, and do it again.

2 how to open the DOS console

Take Win7 as an example, how to open the DOS console?

L mode 1: start menu-click all programs-find attachment-command prompt

L mode 2: start menu-search programs and files-enter cmd-- enter

L mode 3: windows key + R-enter cmd-- enter [recommended method]

3 commonly used DOS commands

In the early stage, the computer operates with DOS commands, because it needs to remember a lot of commands, which is not conducive to popularization. Later, it develops into a graphical interface to operate the computer in the form of mouse click interface. In fact, the bottom layer is still running DOS commands.

1) Drive letter: enter to switch the drive letter, such as d:

2) enter dir to list the files and folders in the current directory (dir-- > directory)

3) enter the cd folder name to enter the specified directory (cd-- > change directory)

4) cd.. Enter to return to the previous directory

5) cd\ return to the root directory

6) cls enter clear screen (clear screen)

7) enter exit to exit the dos command line

Note: a directory is a folder.

-what needs to be mastered on the dividing line, and the understanding below--

Enter the name of the md folder and create a folder (make directory)

Enter the rd folder name and delete the folder (remove directory). Note: only empty folders can be deleted successfully.

Del file name. Enter the suffix name and delete the specified file; delete a class of files under the current directory: del *. Enter with suffix name

Notepad create File

Delete a folder with content:

Rd + / s folder name (asked to delete)

Rd + / Q + / s folder name (delete directly)

[supplement]:

Tab writing completion function

Help View DOS command

↑↓ up and down keys can toggle previously executed DOS commands

Ipconfig View IP address

Ipconfig-all to check the physical address of the notebook network card, namely the mac address (the company needs to bind the mac address)

Ping IP address tests whether the network of IP address is sending and receiving messages properly.

Ipconfig / release removes the dynamic IP address of the network card (release lease)

Ipconfig / renew reassigns dynamic IP addresses to the Nic (reapply for IP)

Ipconfig / flushdns flushes dns cache

Neth winsock reset resets the Nic programming interface and resets the network

Arp-a view mac cache table

Arp-an ip to view the mac address of the specified network card IP

Arp-s ip specifies the mac address of the network card, which is filled in statically.

Arp-d ip deletes a specified mac correspondence table

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report