What's the shell? What's the use? I believe this is a question most people have had with the shell. Below is a small series for everyone to explain their own explanations, I hope to be helpful to everyone.
What is a shell?
The shell is a shell of the system kernel that is used to protect the kernel from communicating with the computer at the same time. It is just a tool of the system that we can use to manipulate the computer.
A common shell.
1) CMD:
Open method: Window+r Open Panel input cmd enter
Features: Many are the commands under window
2) PowerShell:
Open method: Winsow+r Open Panel Enter PowerShell return
Features: It can be compatible with Windows and (Linux,uinx) instructions below
3) Git bash:
Open method: This shellwinsdow is not self-contained, need to download, download and install, right-click to open the run.
Features: It can be compatible with Windows and *inux (Linux,uinx) instructions below
The following extensions are some common instructions for CMD and PowerShell differences
Clear commands for CMD are CLS-compliant and PowerShell can be used in CLS or clear git only with clear
View all files and folders in the current directory cmd with Dir and PowerShell with dir or LS in the same git
CMD If you want to cross the disk to the root of the disk before you can continue to enter the other directory inside the disk.
For example: (I want to cross from the C drive (the current disk) to the CCC inside the D-disk inside of the content)
$D: (first cross to the root of the disk)
$CD EEE/CCC (in the CCC directory under the Eee directory in the D-disk)
If it is PowerShell you can directly CD to the directory you want to reach
For example: (I want to cross from the C drive (the current disk) to the CCC inside the D-disk inside of the content)
$CD D:/EEE/CCC
Git's cross-disk approach is the same as PowerShell
The above is my understanding of various shells, I hope you can increase the leakage point, correction of the wrong point. Don't like to spray, thank you.
What the shell is, preliminary knowledge of various shells, suitable for beginners