Watching Java video today, incidentally learning a DOS command, this also helps me to understand the Ubuntu console commands very well.
1.dir (directory) View the directory under a disk or file (so files and folders)
2.CD (change directory) enters a file directory (for example: CD apple* into a folder with the name beginning with any character "* as a wildcard" after Apple)
CD: Go back to the top level directory
Cd\ back to the root directory (that is, under a disk)
(Note: To switch to a different disk under the current directory, write D: (e.g. switch to D-disk) directly after the current directory.)
3.MD (make directory) Create directory
MD ABC (Create a folder named ABC)
4.rd (remove directory) Delete directory
RD ABC (delete folder ABC)
Note: If there is a file content in the folder ABC, you must first delete the content in order to remove the ABC (this is the Windows system to prevent accidental deletion of files (from inside to outside))
5.del (delete) Delete file
Del * * (delete all files)
6.exit exit DOS command (can also be directly point to the window's Close button (x number))
7.help shows the meaning of various commands under DOS
Help CD (a command) shows the use of the command
Therefore, help is omnipotent, if you forget a command, you can use Help to find.
Learning notes for DOS commands under Windows