Shell Script Pass Parameter

Source: Internet
Author: User

wrote a script to automatically generate PDF uploads GitHub can't stand every time the same commit decides to use a script to pass the argument

Simple and easy to use bold method, more complex can refer to the following two detailed.

How to pass parameters to a shell script

Http://jingyan.baidu.com/article/b24f6c822645b786bfe5daff.html

#!/usr/bin/-synctex=1"leetcode-cpp". Tex > makepdf.logcd. /leetcode-cpp---M $1git push Origin mastercd . /leetcode-cpp-M $1git push Origin master

Comparison of 3 methods for passing parameters in shell scripts

http://blog.csdn.net/yangzhongxuan/article/details/7002739

Shell Basic Learning 20th-passing parameters to a script

Http://bbs.chinaunix.net/thread-1823335-1-1.html

Shell Script Pass Parameter

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.