What the shell is, preliminary knowledge of various shells, suitable for beginners

Source: Internet
Author: User

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

Related Article

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.