Double horizontal bar and single horizontal bar in Shell parameters

Source: Internet
Author: User
A shell process is a process that executes other processes, but when a command is executed, the shell process instructs the kernel to execute the specified program separately as another process and write the output to the terminal. With the command options, we can modify the behavior of the command execution. command line options can be divided into short command-line options and long command-line options. Short command-line options are made up of letters, and long command-line options are made up of words. Short command-line options use a single horizontal bar "-" before the option, and a long command-line option before using a double bar "--". If you need to enter a parameter for an option after the option, the short command-line options and parameters are separated by a space, and the long command-line option uses the equals sign "=" connection options and parameters. By adding the option "--help", "-H", or "after the command"-. ", we can get a command of help information.
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.