A preliminary introduction to the shell

Source: Internet
Author: User

Introduction to the Shell under Linux


Overview:
Each person after successfully landing Liux, the system will appear different cue symbols, such as $,~, #等, and then you can start to enter the command you need, if the command is correct, the system will be a command of the requirements to execute, know the logout system location, during the login to the logoff, each command entered will be parsed and executed. and the responsible mechanism is the shell.

In fact, as the command language interactive interpretation and execution of user input commands to indicate one aspect of shell functionality, the shell can also be used for programming, which provides a means of defining variables and parameters and a rich program control structure. Use the shell to become a DOS-like batch file called Shell script, also called Shell program or shell command file

There are many types of shells, but several are commonly used:
Shell name Developer Command name
Bourne s.r.bource/bin/sh
Bill lov/bin/csh C.
Kom David/bin/ksh

A similar shortcut with arrows.



ENV command
View environment variables


Changes to the shell
Chsh-s Enter a new shell such as:/bin/csh

Automatic completion under the shell
TAB key

A preliminary introduction to the shell

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.