Linux command Line – First knowledge of Linux shell

Source: Internet
Author: User

Introduction to Shells and scripts

    • The Gnu/linux Shell is an interactive tool that provides users with the means to start programs, manage files on file systems, and manage processes running on Linux systems.
      • At the heart of the shell is the command line prompt
        • It's the interactive part of the shell.
        • It allows you to enter a text command, which will then interpret the command and execute it in the kernel.
    • The shell contains a set of built-in commands that can be used to perform operations such as copying files, moving files, renaming files, and displaying and terminating programs that are running on the system (PS: I've been using Ubuntu, Just updated to ubuntu16.04 a while ago, by looking at the Linux command line and Shell Scripting Encyclopedia This book learned that Ubuntu is a professional Linux distribution, not a core Linux distribution, Common commands like those used in Linux code are the shell's built-in commands.
    • Shell script: Placing a shell command into a file as a program execution file
      • Any command executed at the command line can be put into a shell script to execute as a set of commands
    • The shell category
      • Linux systems typically have several types of Linux shells
        • Different shells have different characteristics, some of which are beneficial to the management process and more conducive to creating scripts
      • The default shell for all Linux distributions is essentially the bash shell
        • Bash Shell as an alternative to the standard UNIX Shell–bourne shell
        • Developed by the GNU Project
        • The name of the bash shell is the word game for this Bourne shell, called The Bourne again shell
      • Several other shells
        • Ash: simple, lightweight shell running in a kernel-constrained environment, but fully compatible with bash shell
        • Korn: Programming shell compatible with Bourne Shell, but supports some advanced programming features such as associative arrays and floating-point operations
        • TCSH: Introducing some elements of C into the shell of a shell script
        • ZSH: Introducing Bash, TCSH, and Korn features, advanced shell with advanced programming features, shared history files, and a themed prompt
Linux can be divided into the following four parts: 1. Linux kernel 2. GNC Tool Components 3. Graphical Desktop Environment 4. Application software we refer to the complete Linux System package as a release. (Put the above four parts together to build a Linux system)

Linux command Line – First knowledge of Linux shell

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.