Shell Learning Overview and examples

Source: Internet
Author: User

Shell

1) is a scripting language used on the Linux operating system, providing interfaces for user interaction with the system, similar to the command prompt in Windows, but more powerful;

2) can be executed by the command line, or it can be edited as a script file;

3) mainly for automation simple system or software operation task;

4) Easy to configure, maintain and transplant, do not fancy execution efficiency;

5) The generic Shell is a bash (GNU Bourne-again Shell) in the GNU Toolset, which is installed by default in/bin/bash and can be used to view the bash version number:/bin/bash--version

Examples:

Open the terminal (shortcut key: ctrl+alt+t) under the Linux system and enter this command (list shorthand) to view the files in the current directory:

Ls-al

Where LS is the command,-al is the parameter;

If you only enter LS, you can only get all the folder information in the current directory;

Plus the-al parameter, you get all the folder and file information.

Shell Learning Overview and examples

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.