Build the shell script programming environment in eclipse in Linux

Source: Internet
Author: User
This article describes the configurations required to write shell scripts under eclipse on the linux platform. The main steps are as follows: 1. download and configure eclipse. 2. download and install the ShellEd dependency component man-pageviewerplug-3, download and install the ShellEd component 1. download and configure

This article mainly introduces the configurations required to write shell scripts under eclipse on the linux platform. The main steps are as follows:

1. download and configure eclipse.

2. download and install the ShellEd dependency component man-page viewer plug-

3. download and install the ShellEd component

1. download and configure eclipse

1) go to the eclipse official website to download an eclipse. we recommend that you download the eclipse that has inherited the CDT version.

2) Download JDK. (We recommend that you download the JDK ending with. rpm, because you can double-click it to run it)

2. download and install the ShellED dependency component

Help-> Install New Software:

Http://download.eclipse.org/technology/linuxtools/update

Select man page viewer to complete installation;

3. download and install the ShellEd component

Address: http://sourceforge.net/projects/shelled/files/shelled/

Decompress the component and add it to the Eclipse installation path/plugins /,

Restart Eclipse!

------------------------------------------- You can start programming shell scripts in eclipse -----------------------------------------

1. create a Shell project

File ---- new ---- other

Then you will see the interface:

(Select Shell Script Project), and click "next" J step by step.

2. write a shell script (create a file ending with 1. sh and write the following code in it)

#! /Bin/bashecho "I love zhangzetian !! "At this time, you can run shell scripts like running C/C ++ code in eclipse.

The running result is:

I love zhangzetian !!

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.