Java basic finishing-DOS command

  1. What can DOS do?
    a) It can help us quickly realize some commonly used functions, such as 1. Start the program, 2. Determine the network communication, 3. Close the process

  2. How to realize DOS (operation realization logic, bottom realization logic)
    a) Enter the cmd operation interface
    b) Operate through a specific grammar
    c) Summary: The grammar is realized, and all computer languages ​​are realized in this way.

  3. What is DOS?
    a) Disk-oriented, DOS operating system commands, mainly the system that operates files in the disk
    b) Similar to the window system, but the window overthrows the rule of Dos

  4. What are the frequently used things similar to DOS?
    a) Operating language in Linux

  5. What are the common functions of DOS?
    a) Start the program (=)
    i. Cmd+start.bat
    ii. Cmd + java
    b) Determine whether there is a problem with the connection between the external network and the machine (=)
    i. Ping + iP /Domain name
    c) Close the process
    i. Find the port number netstat -aon|findstr "8080" (important)
    ii. View the process number tasklist|findstr 5769 corresponding to the PID
    iii. End the process
    1.taskkill /f /t /im xxx.exe kill program
    2. taskkill /f /PID 5769 kill PID (important)

  6. The requirements for DOS
    a) It is enough to be familiar with some functions and operations.
    b) It is not enough to achieve the document every time.

  7. Common basic operations:
    a) start cmd mode win+R
    b) start cmd in the specified directory: enter the folder, enter cmd in the path bar
    c) clear the information on the screen: cls
    d) exit cmd command: exit
    e ) Enter the file command: cd cd... cd
    f) View the files in the current directory: dir

  8. Small skill tabs can be automatically filled. Up arrow key, up arrow key can enter the command that has been entered

Guess you like

Origin blog.csdn.net/weixin_44767679/article/details/107327647