Ubuntu user cp-compile. Bash sample

Source: Internet
Author: User
Keywords example compile script can
Tags beginners compile default example gnu help how to how to use

Bash (GNU bourne-again shell) is the default shell of many Linux platforms, in fact, there are many traditional Unix shell, like tcsh, CSH, Ash, BSH, Ksh, and so on, SHell script is roughly similar, When you learn a shell, the rest of the shell will soon start, and most of the time, a shell script can often be used on many kinds of shells.

By learning how to program with the Bash scripting language, Linux will make day-to-day interactions more interesting and productive, while also leveraging standard UNIX concepts such as pipelines and redirects that are familiar and favorite. In this three-part series, Daniel Robbins will show you how to program with bash. He will describe very basic knowledge (which makes this series ideal for beginners) and progressively introduce more advanced features in subsequent series.

Learning about bash in the wrong way is confusing. Many novice input "man bash" to view the Bash help page, but only a very simple and technical shell functional description. Someone also enters "info bash" (To view the GNU information document) and can only get a help page to be displayed again, or (if lucky) a slightly friendlier information document.

While this may be a disappointment for beginners, standard bash documents do not meet everyone's requirements and are only suitable for those who are already familiar with Shell programming. The help page does have a lot of excellent technical information, but the Help for beginners is limited.

This is the purpose of this series. In this series, I'll tell you how to actually use bash programming concepts to write your own scripts. Unlike technical descriptions, I will explain to you in simple language so that you know not only what to do, but also when to use it. At the end of this three-part series, you'll be able to write your own complex bash scripts, and you can easily use bash and supplement your knowledge by reading (and understanding) standard bash documents.

The following content is mainly for http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu users." ArchLinux or honest with yaourt good.

1 cd ~/personal/Download/vcs/svn-download
2 SVN Checkout
3 HTTP://COMPILE-PROGRAM.GOOGLECODE.COM/SVN/TRUNK/COMPILE-PROGRAM-SVN
4 CD
5 COMPILE-PROGRAM-SVN
6 make-f Makefile.user Install
7 Echo
8 ' path= $HOME/application/Installation/executables: $HOME/application/script: $PATH \ "' >> ~/.BASHRC
9.
~/.bashrc
One CD

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.